:root {
    --primary-color: #c28b27;
    --primary-hover: #a1721e;
    --secondary-color: #111827;
    --bg-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 40px -10px rgba(17, 24, 39, 0.08);
    --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.3);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.large-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.massive-btn {
    padding: 20px 40px;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 350px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 24px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-light);
}

.hero-text h2 span {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    padding: 12px;
    background: var(--secondary-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

.app-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(245,158,11,0) 70%);
    opacity: 0.15;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
}

.blob-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    opacity: 0.5;
    animation: blobAnim 8s infinite alternate ease-in-out;
}

.blob-1 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: #4f46e5;
    bottom: -20px;
    left: -20px;
    animation-delay: -4s;
}

@keyframes blobAnim {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(30px, -30px); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Sections Common */
section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Stats Section */
.stats {
    padding: 20px 24px 60px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-box p {
    font-weight: 500;
    color: var(--text-light);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose-us {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    margin-top: 0px;
    margin-bottom: 40px;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.reason-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateX(5px);
}

.reason-content h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.reason-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(194, 139, 39, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    font-size: 1.2rem;
}

.testi-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    flex-grow: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 24px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-info h4 {
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Download Section */
.download-section {
    padding: 40px 24px;
}

.download-card {
    padding: 60px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.download-card h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 16px;
    z-index: 1;
}

.download-card p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    z-index: 1;
}

.app-details {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.detail-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.download-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.download-note {
    font-size: 0.875rem !important;
    opacity: 0.6 !important;
    margin-top: 16px;
    margin-bottom: 0 !important;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 24px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.powered-by {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.slide-in-left.visible, .slide-in-right.visible {
    transform: translateX(0);
}

/* 3D Tilt Feature */
.feature-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    /* transition removed to allow smooth JS control */
}
.feature-card * {
    transform: translateZ(20px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none; /* simple mobile view */
    }

    .hero {
        padding-top: 100px;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .large-btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .download-card {
        padding: 60px 20px;
    }

    .download-card h2 {
        font-size: 2rem;
    }
    
    .download-actions {
        flex-direction: column;
        gap: 12px;
    }

    .download-actions .massive-btn {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}
