:root {
    /* Colors */
    --primary: #FF6B3D;
    --primary-hover: #E85A2C;
    --primary-soft: rgba(255, 107, 61, 0.1);
    --secondary: #FFF5F1;
    --text-main: #111827; /* Deep Navy/Black */
    --text-muted: #6B7280;
    --bg-main: #FFFFFF;
    --bg-alt: #F9FAFB;
    --border: #E5E7EB;
    --success: #10B981;
    --accent-volt: #FFE57F; 
    --mockup-width: 280px; 
    --mockup-height: 520px;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 12px -2px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3); /* More expressive shadow */
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #FF9F7D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Layout Utility --- */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplest fix for now: hide menu on mobile, or could add toggle */
    }
    .logo span {
        display: none; /* Hide text on small screens if needed */
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 107, 61, 0.39);
}

.btn-primary:hover {
    background: var(--accent-volt);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 229, 127, 0.4);
}

.btn-secondary {
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: #D1D5DB;
    transform: translateY(-2px);
}

/* --- Global Image Resizing --- */
.section-image {
    max-width: var(--mockup-width) !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 20px;
    box-shadow: none; /* Removed heavy shadows that feel like frames */
    background: transparent !important;
}

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

/* --- Hero Section --- */
.hero {
    padding-top: 180px;
    padding-bottom: 140px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 61, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 229, 127, 0.2) 0%, transparent 50%),
        #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 61, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 850;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-downloads {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-downloads img {
    height: 48px;
    width: auto;
    transition: transform 0.2s ease;
}

.hero-downloads img:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem; /* Better proximity without overlap */
}

.mockup {
    position: relative;
    width: var(--mockup-width);
    height: var(--mockup-height);
    border-radius: 28px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent !important;
    border: none !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

.mockup-android {
    z-index: 1;
    transform: perspective(1000px) rotateY(10deg);
    animation: float-android 6s ease-in-out infinite;
}

.mockup-ios {
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    animation: float-ios 6s ease-in-out infinite 1s;
}

@keyframes float-android {
    0%, 100% { transform: perspective(1000px) rotateY(10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(14deg) translateY(-15px); }
}

@keyframes float-ios {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-14deg) translateY(-15px); }
}

.hero-visual:hover .mockup {
    animation-play-state: paused;
}

.hero-visual:hover .mockup-android {
    transform: perspective(1000px) rotateY(8deg) rotateX(2deg) translateX(-10px);
}

.hero-visual:hover .mockup-ios {
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateX(10px);
}

@media (max-width: 1024px) {
    .grid-2, .feature-grid, .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        height: 500px;
        max-width: 100%;
        margin-top: 4rem;
    }
    .mockup {
        width: 220px;
        height: 400px;
    }
    .mockup-android { left: 10%; }
    .mockup-ios { right: 10%; }
}

@media (max-width: 640px) {
    .mockup {
        width: 180px;
        height: 340px;
    }
    .hero-visual {
        height: 400px;
    }
}

/* --- Social Proof --- */
.social-proof {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-proof p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
    filter: grayscale(1);
    opacity: 0.6;
}

.logos span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #9CA3AF;
}

/* --- Problem Section --- */
.problem {
    background-color: var(--bg-alt);
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.problem-card:hover {
    border-bottom-color: var(--accent-volt);
    transform: translateY(-8px);
}

.problem-card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.problem-card ul {
    list-style: none;
}

.problem-card li {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
    color: var(--text-muted);
}

.problem-card li::before {
    content: "✕";
    color: #EF4444;
    font-weight: bold;
}

.solution-card li::before {
    content: "✓";
    color: var(--success);
}

/* --- How It Works --- */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
}

/* --- Features --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: white;
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.quote {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
}

.author-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- Support Section --- */
.support-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background: #fdfdfd;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.1);
    background: #ffffff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem;
    font-weight: 600;
}

/* --- Final CTA --- */
.cta-banner {
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 229, 127, 0.2) 0%, transparent 50%),
        var(--text-main);
    color: white;
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-volt);
}

.cta-banner .hero-ctas {
    justify-content: center;
    margin-bottom: 0;
    margin-top: 2.5rem;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-banner p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.copyright {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .grid-2, .feature-grid, .testimonial-grid, .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        margin: 0 auto 2.5rem;
    }
    .hero-ctas, .hero-downloads {
        justify-content: center;
    }
    .hero-visual {
        transform: none !important;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero p {
        font-size: 1.125rem;
    }
    .hero {
        padding-top: 120px;
    }
    .section-title {
        font-size: 2.25rem;
    }
}
