@import url('./variables.css');
@import url('./features-grid.css');

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

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

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px 60px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Premium Button */
.btn-premium {
    background: var(--gradient-premium);
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-block;
    box-shadow: var(--shadow-premium);
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 45px rgba(48, 176, 199, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-teal);
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-block;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--color-bg-light);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-black);
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav ul li a:not(.btn-premium) {
    font-weight: 600;
    color: var(--color-text-gray);
}

nav ul li a:not(.btn-premium):hover,
nav ul li a.active {
    color: var(--color-teal);
}

.store-btn {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-black);
    cursor: pointer;
    z-index: 1001;
    /* Above the nav overlay */
}

/* Hero Section */
.hero {
    position: relative;
    /* For absolute blobs */
    min-height: 100vh;
    /* Full viewport height */
    padding-top: 100px;
    /* Reduced to just clear header (was 180px) */
    padding-bottom: 60px;
    /* Reduced for better balance */
    display: flex;
    align-items: center;
    /* Vertically center content */
    overflow: hidden;
    /* contain blobs */
}

/* Ensure container behaves in flex parent */
.hero .container {
    width: 100%;
}

/* Mesh Gradient Background */
body {
    background-color: #f8f9fc;
    background-image:
        radial-gradient(at 0% 0%, hsla(192, 100%, 93%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(190, 100%, 96%, 1) 0, transparent 50%);
}

/* Decorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #dcfce7;
    /* Soft Green */
    top: 10%;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #e0f2fe;
    /* Soft Blue */
    bottom: 10%;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #f3e8ff;
    /* Soft Purple */
    top: 40%;
    left: 20%;
    opacity: 0.4;
}

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

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subpage Header */
.subpage-header {
    padding: 130px 0 60px;
    /* Tighter top/bottom */
    background: radial-gradient(circle at center, rgba(48, 176, 199, 0.08), transparent 70%);
    /* Slightly stronger centering */
    position: relative;
    overflow: hidden;
}

.subpage-header h1 {
    font-size: 56px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* ... existing code ... */

.feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the entire group */
    gap: 100px;
    /* Slightly reduced gap as elements are wider */
    margin-bottom: 120px;
    max-width: 100%;
    /* Let it use container width */
}

.feature-row.reversed {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 0 0 525px;
    /* Wider text block (was 450px) */
    max-width: 100%;
}

.feature-graphic {
    flex: 0 0 auto;
    /* Hug content (image width) */
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* Remove side-specific alignment since we are packing center */
.feature-row.reversed .feature-graphic {
    justify-content: center;
}

.feature-graphic img {
    width: auto;
    max-width: 100%;
    max-height: 600px;
    /* Larger images (was 550px) */
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 8px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.feature-graphic img:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-text h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.feature-text p {
    font-size: 18px;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Checklist Styles */
.check-list {
    margin-top: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 18px;
}

.check-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(48, 176, 199, 0.1);
    border-radius: 50%;
    color: var(--color-teal);
    font-weight: 800;
    font-size: 14px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px !important;
    /* Slightly tighter container */
    margin: 0 auto;
}

.pricing-card {
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    background: white;
    /* clearer background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* subtler border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* premium soft shadow */
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-premium);
    /* Premium gradient */
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(48, 176, 199, 0.3);
    z-index: 2;
}

/* Ensure popular card has z-index to show badge over siblings if needed */
.pricing-card[style*="border"] {
    position: relative;
    z-index: 1;
    background: #F0FDFA;
    /* Very subtle tint for popular card */
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.pricing-header .price {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-header .price span {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.6;
}

.price-description {
    color: var(--color-text-gray);
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 16px;
}

.capacity-highlight {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-black);
    margin: 40px 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 20px;
}

.capacity-highlight span {
    font-size: 48px;
    display: block;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-features {
    margin: 40px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Legal & FAQ */
.narrow {
    max-width: 800px !important;
}

.legal-content,
.faq-card {
    padding: 60px;
    border-radius: 30px;
    margin-top: 40px;
}

.faq-item {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-content h2 {
    margin: 32px 0 16px;
    font-size: 24px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--color-text-gray);
}

.faq-list {
    margin-top: 60px;
}

.faq-item {
    margin-bottom: 24px;
    text-align: left;
}

.faq-item h3 {
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 20px;
    color: var(--color-text-gray);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

/* Hero Image */
.hero-image img {
    width: auto;
    max-width: 90%;
    max-height: 450px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    /* Border removed for cleaner look */
}

/* Logo Styling */
.logo img.app-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    /* Soft square for app icon */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* How it Works */
.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-arrow {
    flex: 0 0 40px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    opacity: 0.3;
}

.process-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--color-teal);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-premium);
    color: white;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-premium);
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    color: var(--color-text-gray);
    font-size: 16px;
    line-height: 1.5;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.comparison-card {
    padding: 40px;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
}

.comparison-card.bad {
    background: rgba(255, 69, 58, 0.05);
    border: 1px solid rgba(255, 69, 58, 0.1);
}

.comparison-card.good {
    background: rgba(48, 176, 199, 0.05);
    border: 1px solid rgba(48, 176, 199, 0.1);
}

.comparison-card h3 {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
}

.comparison-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: var(--color-text-black);
}

.comparison-list li svg {
    flex-shrink: 0;
    margin-top: 4px;
}


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-text-black);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info h4 {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

.author-info p {
    font-size: 14px;
    color: var(--color-text-gray);
    margin: 0;
}

@media (max-width: 991px) {
    .process-grid {
        flex-direction: column;
        gap: 40px;
    }

    .process-arrow {
        display: none;
    }

    .comparison-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(48, 176, 199, 0.1);
    color: var(--color-teal);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Stats / Highlights Bar */
.stats-section {
    padding: 60px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: 12px;
    color: var(--color-teal);
    margin-bottom: 8px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

.stat-text {
    font-weight: 700;
    color: var(--color-text-black);
    font-size: 16px;
}

.stat-sub {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.showcase-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.showcase-image img {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.feature-graphic img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    /* Increased from 350px */
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 8px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.device-card {
    text-align: center;
}

.device-card img {
    width: auto;
    max-width: 100%;
    max-height: 400px;
    /* Increased from 300px */
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 4px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.device-label {
    font-weight: 600;
    color: var(--color-text-gray);
    margin-top: 12px;
}

.badge-green {
    background: rgba(0, 214, 143, 0.1);
    color: var(--color-green);
}

/* Calculator Card */
.calculator-card {
    padding: 60px;
    border-radius: 40px;
}

.calc-form {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-gray);
}

.form-group input {
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-family: inherit;
    font-size: 16px;
    width: 200px;
}

.calc-result {
    width: 100%;
    margin-top: 30px;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-teal);
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

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

/* Utility */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

/* Stagger Animation Utilities */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    padding: 60px 40px;
    border-radius: 30px;
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-box svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2.5px;
    fill: none;
}

.grad-teal {
    background: var(--gradient-premium);
    color: white;
}

.grad-premium {
    background: linear-gradient(135deg, #AF52DE, #FF2D55);
    color: white;
}

.grad-green {
    background: var(--gradient-green);
    color: white;
}

.grad-blue {
    background: var(--gradient-blue);
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-text-black);
}

/* Spacing Adjustments */
.feature-row:last-child {
    margin-bottom: 0 !important;
}

.global-features {
    padding-top: 40px !important;
}

.feature-card p {
    color: var(--color-text-gray);
    font-size: 16px;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding-bottom: 60px;
}

details {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

details:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

summary {
    padding: 24px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--color-teal);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--color-text-gray);
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding-top: 16px;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-premium);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(48, 176, 199, 0.4);
    z-index: 10;
}

/* Redesigned Download Card */
.download-card-section {
    padding: 60px 0 120px;
}

.download-card {
    background: #1C1C1E;
    /* brand black */
    background: radial-gradient(circle at top right, #2a3c42 0%, #1C1C1E 100%);
    border-radius: 24px;
    /* Tighter radius for smaller card */
    padding: 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    /* Drastically reduced (was 260px, originally 400px) */
}

.download-content {
    padding: 30px 0 30px 50px;
    /* More left padding for balance */
    max-width: 600px;
    /* Increased from 450px to let text breathe */
    position: relative;
    z-index: 2;
}

.download-card h2 {
    font-size: 32px;
    /* Bumped up slightly from 28px */
    margin-bottom: 8px;
    color: white;
    line-height: 1.1;
    white-space: nowrap;
    /* Force single line if it fits */
}

@media (max-width: 991px) {
    .download-card h2 {
        white-space: normal;
        /* wrap on mobile */
    }
}

.download-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    /* Bumped up from 14px */
    margin-bottom: 24px;
    max-width: 500px;
    /* Allow text to be wider */
    line-height: 1.5;
}

/* Decorative Mesh/Orbs - Subtler */
.download-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(48, 176, 199, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.download-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(48, 176, 199, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.download-image {
    position: absolute;
    right: 60px;
    bottom: -80px;
    /* Pull it down to crop */
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.download-image img {
    width: 300px;
    /* Fixed width */
    transform: rotate(-10deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.download-card:hover .download-image img {
    /* Pop up slightly on hover */
    transform: translateY(-20px) rotate(-8deg) scale(1.02);
}

.store-links {
    display: flex;
    justify-content: flex-start;
    /* Left align now */
    gap: 12px;
    flex-wrap: wrap;
}

/* Mobile Responsive for Download Card */
@media (max-width: 991px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        padding-bottom: 0;
        min-height: auto;
        justify-content: center;
    }

    .download-content {
        padding: 40px 24px 180px;
        /* Add bottom padding to make room for absolute image */
        max-width: 100%;
    }

    .download-card p,
    .store-links {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .download-image {
        right: 50%;
        transform: translateX(50%);
        /* Center it horizontally */
        bottom: -60px;
    }

    .download-image img {
        width: 240px;
        transform: rotate(0deg);
    }

    .download-card:hover .download-image img {
        transform: translateY(-10px);
    }
}

/* =========================================
   Hero Floating Notifications
   ========================================= */
.hero-image {
    position: relative;
    /* Anchor for absolute elements */
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border: 8px solid rgba(255, 255, 255, 0.8);
    /* Added Border */
    border-radius: 40px;
    /* Match device rounding roughly */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    width: auto;
    /* Allow natural width */
    height: auto;
    /* Allow natural height */
    max-height: 600px;
    /* Cap height to prevent it getting too huge */
    max-width: 100%;
}

/* Ambient Glow behind phone */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(48, 176, 199, 0.5) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

/* Base Card Style - Strictly Centered */
.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 18px;
    /* Balanced padding */
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    /* Vertical Center */
    flex-direction: row;
    gap: 14px;
    z-index: 2;
    animation: float-card 6s ease-in-out infinite;
    width: auto;
    min-width: 200px;
    white-space: nowrap;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Ensure internal text centering */
    gap: 2px;
    /* Consistent gap between lines */
}


/* Position adjustments for closer orbit */
.card-approved {
    top: 10%;
    right: -50px;
    animation-delay: 0s;
}

.card-calendar {
    top: 45%;
    left: -80px;
    animation-delay: -3s;
}

.card-sync {
    top: 75%;
    right: -60px;
    animation-delay: -1.5s;
}

/* Icon Styles - Clean */
.icon-box {
    width: 40px;
    /* Larger box like reference */
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}

.icon-box svg {
    display: block;
    margin: 0;
    width: 22px;
    /* Slightly larger icon */
    height: 22px;
}

.icon-green {
    background: #DCFCE7;
    color: #047857;
    /* Darker Emerald */
}

.icon-orange {
    background: #FEF3C7;
    color: #B45309;
    /* Darker Amber */
}

.icon-blue {
    background: #E0F2FE;
    color: #0369A1;
}

/* Floating Animation */
@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hide floating cards on mobile if they clutter */
@media (max-width: 768px) {
    .hero-card {
        display: none;
    }

    .hero-image::before {
        width: 100%;
        /* Wider glow on mobile */
    }
}

.store-btn img {
    height: 36px;
    /* High-density buttons */
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #f8f8fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--color-text-gray);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--color-text-gray);
}

.footer-links ul li a:hover {
    color: var(--color-teal);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-gray);
    font-size: 14px;
}

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

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    /* Mobile Nav */
    /* Mobile Nav */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    nav ul li a {
        font-size: 24px;
    }

    .logo img.app-icon {
        height: 40px;
    }
}

/* Platform Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: white;
    /* Fallback */
    background: rgba(255, 255, 255, 0.85);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text-gray);
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-text-black);
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--color-text-gray);
    margin-bottom: 40px;
    font-size: 18px;
}

.platform-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge {
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.store-badge img {
    height: 64px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .platform-options {
        flex-direction: column;
        align-items: center;
    }

    .store-badge img {
        height: 56px;
    }
}