/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8eaf6 100%);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #1565c0;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 2rem;
}

.container {
    max-width: 1200px;
    width: 100%;
}

/* Hero Section */
#home {
    background: linear-gradient(135deg, #667eea 0%, #42a5f5 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 10%;
    animation-delay: 15s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 50%;
    animation-delay: 7s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    order: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    color: #ffd700;
}

.hero-badge span {
    font-weight: 500;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #1565c0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.phone-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.phone-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.phone-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.phone-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-1 {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -20px;
    left: -40px;
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-1 .card-icon {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
}

.card-2 .card-icon {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    color: white;
}

.card-title {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

/* Features Section */
#features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.gradient-5 {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.gradient-6 {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Download Section */
#download {
    background: linear-gradient(135deg, #667eea 0%, #42a5f5 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.download-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, white 2px, transparent 2px);
    background-size: 50px 50px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.98);
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-card:nth-child(1) .download-icon {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
}

.download-card:nth-child(2) .download-icon {
    background: linear-gradient(135deg, #000, #333);
    color: white;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.download-card p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-download {
    background: linear-gradient(135deg, #333, #000);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.qr-section {
    margin-top: 3rem;
    text-align: center;
}

.qr-section p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.qr-code {
    display: inline-block;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* About Section */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaf6 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    text-align: center;
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 800px;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1565c0;
    font-weight: 500;
}

.about-feature i {
    font-size: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}
.cta-section {
    display: flex;
    justify-content: center;  /* centers horizontally */
    text-align: center;           /* optional: make it full-screen height */
    background: linear-gradient(90deg, #1E90FF, #3AA0FF);
    color: white;
}

.cta-content {
    margin: 0 auto;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: #1565c0;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
    }

    .section {
        padding: 4rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 1rem 1rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .floating-card {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .download-grid {
        gap: 1rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .about-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .about-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .about-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .about-feature {
        font-size: 0.9rem;
    }

    .about-feature i {
        font-size: 1.2rem;
    }
}

/* Product-focused visual refinements */
:root {
    --blue-900: #103c68;
    --blue-700: #1769aa;
    --blue-500: #2b91d1;
    --blue-100: #e8f4fb;
    --ink: #183248;
    --muted: #607487;
    --surface: #ffffff;
    --line: #dce8ef;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: #f4f8fa;
}

#navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(16, 60, 104, 0.12);
}

.nav-container {
    padding: 0.85rem 2rem;
}

.logo {
    color: var(--blue-900);
    background: none;
    -webkit-text-fill-color: initial;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.nav-links li {
    margin-left: 1.75rem;
}

.nav-links a {
    color: #456174;
    font-size: 0.9rem;
}

.section {
    min-height: auto;
    padding: 6.5rem 2rem;
    scroll-margin-top: 4.5rem;
}

#home {
    min-height: 660px;
    padding-top: 8rem;
    padding-bottom: 7rem;
    background: linear-gradient(116deg, #0f4778 0%, #1769aa 56%, #2b91d1 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: 5rem;
    align-items: center;
    justify-content: initial;
}

.hero-content {
    text-align: left;
    order: initial;
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbeeff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.eyebrow i {
    color: #8cdaff;
}

.hero-title {
    max-width: 650px;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: -0.055em;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: #ffffff;
}

.hero-description {
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e4f4fc;
    margin-bottom: 2rem;
}

.hero-buttons {
    justify-content: initial;
    margin-bottom: 0;
}

.btn {
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    font-size: 0.92rem;
}

.btn-primary {
    color: var(--blue-900);
    box-shadow: 0 8px 20px rgba(5, 35, 61, 0.2);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-visual {
    min-height: 390px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    width: min(100%, 250px);
    max-height: 610px;
    padding: 8px;
    overflow: hidden;
    border: 7px solid rgba(7, 43, 75, 0.8);
    border-radius: 32px;
    background: #101c2b;
    box-shadow: 18px 22px 0 rgba(7, 43, 75, 0.14), 0 24px 50px rgba(4, 35, 61, 0.28);
    transform: rotate(2deg);
}

.app-preview-image {
    display: block;
    width: 100%;
    max-height: 590px;
    object-fit: contain;
    border-radius: 23px;
}

#features,
#about {
    background: #f4f8fa;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    color: var(--blue-900);
    font-size: clamp(2rem, 3vw, 2.7rem);
    letter-spacing: -0.045em;
    margin-bottom: 0.65rem;
}

.section-description {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    min-height: 215px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 60, 104, 0.05);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(16, 60, 104, 0.1);
}

.feature-icon {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    margin-bottom: 1.15rem;
    font-size: 1rem;
}

.gradient-1,
.gradient-2,
.gradient-3,
.gradient-4,
.gradient-5,
.gradient-6 {
    background: var(--blue-100);
    color: var(--blue-700);
}

.feature-card h3 {
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

#download {
    background: var(--blue-900);
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

#download .section-title { color: white; }
#download .section-description { color: #c7dfed; }

.download-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.download-card {
    width: min(100%, 430px);
    padding: 1.75rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 15px 30px rgba(3, 28, 49, 0.16);
}

.download-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    margin: 0 auto 1rem;
    background: #e7f7eb !important;
    color: #2e9a54 !important;
    font-size: 1.4rem;
}

.download-card h3 {
    font-size: 1.15rem;
    color: var(--ink);
}

.download-card p {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.btn-download {
    background: var(--blue-700);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.version-badge {
    display: block;
    width: fit-content;
    margin: 0.8rem auto 0;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #e7f7eb;
    color: #2e9a54;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.qr-section {
    margin-top: 2rem;
}

.qr-section p {
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
}

.qr-code {
    padding: 0.7rem;
    border-radius: 10px;
}

.qr-code img {
    display: block;
    width: 145px;
    height: 145px;
}

.about-grid {
    display: block;
}

.about-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-text h3 {
    color: var(--blue-700);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.about-text p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.about-block {
    min-width: 0;
}

.about-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.about-feature {
    color: var(--blue-700);
    font-size: 0.82rem;
}

.about-feature i { font-size: 1rem; }

.cta-section {
    padding: 3.5rem 2rem;
    background: #e5f2f8;
    color: var(--blue-900);
}

.cta-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.btn-cta {
    background: var(--blue-700);
    color: white;
}

@media (max-width: 900px) {
    .hero-grid { gap: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-text { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 680px) {
    .nav-container { padding: 0.75rem 1rem; }
    .nav-links { gap: 0.85rem; }
    .nav-links li { margin-left: 0; }
    .nav-links a { font-size: 0.75rem; }
    .section { padding: 5rem 1.1rem; }
    #home { min-height: auto; padding-top: 7rem; padding-bottom: 5rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { text-align: left; }
    .hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
    .hero-description { font-size: 0.95rem; }
    .hero-buttons { flex-wrap: wrap; }
    .hero-visual { min-height: auto; }
    .app-preview { transform: rotate(0); }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .cta-section { padding: 3rem 1.1rem; }
}

@media (max-width: 420px) {
    .logo { font-size: 1.25rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 359px) {
    .nav-links { gap: 0.55rem; }
    .nav-links a { font-size: 0.7rem; }
}

.section {
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
}

#home {
    min-height: 570px;
    padding-top: 6.5rem;
    padding-bottom: 5.5rem;
}

.hero-grid {
    gap: 3.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 4.4vw, 3.8rem);
    margin-bottom: 1rem;
}

.hero-description {
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hero-visual {
    min-height: 330px;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-title {
    font-size: clamp(1.85rem, 2.7vw, 2.4rem);
}

.features-grid {
    gap: 0.85rem;
}

.feature-card {
    min-height: 185px;
    padding: 1.25rem;
}

.feature-icon {
    margin-bottom: 0.85rem;
}

#download {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
}

.download-card {
    padding: 1.4rem;
}

.qr-section {
    margin-top: 1.5rem;
}

.about-content h2 {
    margin-bottom: 1.15rem;
}

.about-text {
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-features {
    padding-top: 1rem;
}

.cta-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

@media (max-width: 680px) {
    .section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    #home {
        min-height: auto;
        padding-top: 5.75rem;
        padding-bottom: 4rem;
    }

    .hero-grid {
        gap: 1.75rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .hero-visual {
        min-height: auto;
    }

    #download {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
}

/* Usability and accessibility fixes */
.logo {
    text-decoration: none;
}

/* Enlarge nav tap targets without changing the navbar height */
.nav-links a {
    display: inline-block;
    padding: 0.8rem 0;
    margin: -0.8rem 0;
}

.nav-links a::after {
    bottom: calc(0.8rem - 5px);
}

/* Keep the hover lift working after the scroll-reveal animation has run */
.feature-card.animate-in:hover {
    transform: translateY(-3px);
}

.download-card.animate-in:hover {
    transform: translateY(-5px);
}

.stat-card.animate-in:hover {
    transform: translateY(-5px);
}

/* Higher-contrast green for small text on the light green tint */
.version-badge {
    color: #1f7a3e;
}

.download-icon {
    color: #1f7a3e !important;
}

/* Visible keyboard focus on both light and dark backgrounds */
a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--blue-900);
    border-radius: 4px;
}

.btn:focus-visible {
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .feature-card,
    .download-card,
    .stat-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Width/height attributes reserve space to prevent layout shift; keep the original rendered size */
.app-preview-image {
    height: auto;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    display: block;
    width: auto;
    height: 36px;
}

.cta-logo {
    display: block;
    width: 80px;
    height: auto;
    margin: 0 auto 1rem;
}

/* Phones: show the badge only, and keep the wordmark available to screen readers */
@media (max-width: 420px) {
    .logo-img {
        height: 32px;
    }

    .logo span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
