:root {
    /* Kanavu Brand Colors from DesignSystem */
    --primary-color: #008080;
    /* Teal */
    --secondary-color: #264653;
    /* Dark Teal */
    --accent-color: #E9C46A;
    /* Warm Gold */
    --primary-gradient: linear-gradient(135deg, #008080, #264653);

    --bg-color: #FAFAFA;
    /* Soft off-white */
    --text-primary: #212121;
    /* Near black */
    --text-secondary: #757575;
    /* Medium gray */

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(38, 70, 83, 0.07);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background Gradients */
.glass-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 128, 128, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(233, 196, 106, 0.15) 0%, transparent 40%);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 90%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.floating {
    background: var(--primary-color);
    width: fit-content;
    padding: 0.8rem 1.5rem;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 128, 128, 0.2);
    justify-content: center;
}

.navbar.floating .logo {
    display: none;
}

.navbar.floating .nav-links {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar.floating .nav-links a {
    margin: 0;
    font-size: 0.95rem;
    color: white !important;
    transition: transform 0.2s ease;
    display: inline-block;
    /* Required for transform */
}

.navbar.floating .nav-links a:hover {
    transform: translateY(-2px);
}

.get-app-btn {
    display: none;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar.floating .get-app-btn {
    display: block;
    color: white !important;
}

.brand-text {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo-text-plain {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.5rem;
    /* Ensure it aligns nicely next to the logo */
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.support-link {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 5%;
    padding-top: 80px;
    /* Offset for dynamic island/notch if mocked, or just nav */
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* Reduced margin to bring badges closer */
}

.region-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 128, 128, 0.1);
    /* Light Teal */
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 128, 128, 0.2);
}

.badge-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    background: black;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.app-store-button svg {
    margin-right: 12px;
}

/* Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: white;
    border-radius: 48px;
    padding: 12px;
    position: relative;
    border: 8px solid var(--secondary-color);
    box-shadow:
        0 30px 60px -15px rgba(0, 128, 128, 0.25),
        inset 0 -2px 6px 0 rgba(10, 37, 64, 0.35);
}

.screen {
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-screen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
    position: relative;
}

.app-header {
    height: 15%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-card {
    height: 60%;
    width: 85%;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    position: absolute;
    top: 20%;
    left: 7.5%;
}

.app-card.secondary {
    top: 85%;
    opacity: 0.5;
    transform: scale(0.9);
}


/* Showcase Section */
.showcase-section {
    padding: 6rem 5%;
    /* Removed white background for consistency */
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.showcase-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.showcase-img {
    max-width: 100%;
    /* Limit height to keep it proportional if it's a very tall screenshot */
    max-height: 600px;
    border-radius: 40px;
    /* Match the phone frame roundness roughly */
    box-shadow: 0 30px 60px -15px rgba(0, 128, 128, 0.25);
    /* Teal shadow */
    border: 8px solid var(--secondary-color);
    /* Dark Teal bezel */
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.showcase-steps {
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.step:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.step-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 400px;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: #F0F0F0;
    /* Subtle grey number */
    line-height: 1;
    margin-left: 2rem;
}

/* Responsive adjustment for showcase */
@media (max-width: 968px) {
    .showcase-container {
        flex-direction: column;
    }

    .showcase-content h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .showcase-img {
        max-height: 600px;
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
    background: white;
}

.feature-card {
    padding: 2rem;
    border-radius: 24px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Legal Pages Styling */
.legal-container {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}


/* Footer */
footer {
    background: transparent;
    padding: 3rem 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.copyright p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 1.5rem 5%;
    }

    .nav-links {
        display: none;
        /* Simplify for mobile for now */
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0;
    }

    /* Mobile Floating Navbar Adjustments */
    .navbar.floating {
        padding: 0.6rem 1.2rem;
        width: 85%;
        max-width: 320px;
    }

    .navbar.floating .nav-links {
        gap: 1rem;
    }

    .navbar.floating .nav-links a {
        font-size: 0.85rem;
    }

    .navbar.floating .get-app-btn {
        font-size: 0.85rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 5% 6rem;
    text-align: center;
}

.gallery-section .section-header {
    margin-bottom: 3rem;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.gallery-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    /* Hide scrollbar for standard browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: inline-flex;
    gap: 2rem;
    padding: 0 5%;
    /* Padding to allow scrolling to edge */
}

.gallery-item {
    flex: 0 0 auto;
    width: 250px;
    /* Adjust based on screenshot aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}