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

/* Variables - Nuvio Brand Colors */
:root {
    /* Primary Brand Colors */
    --primary-blue: #5774CD;        /* Primary Blue-Purple */
    --primary-orange: #FEA419;      /* Primary Orange */
    --primary-pink: #FF6584;         /* Primary Pink */
    --primary-light-blue: #E2E9FF;  /* Very Light Blue-Purple */
    --primary-red: #FE3A01;         /* Vibrant Red */
    
    /* Background Colors */
    --bg-primary: #FFFFFF;          /* White */
    --bg-secondary: #E2E9FF;        /* Very Light Blue-Purple */
    --bg-tertiary: #F5F5F5;         /* Light Gray */
    
    /* Text Colors */
    --text-primary: #3F3D56;        /* Dark Gray */
    --text-secondary: #5774CD;       /* Blue-Purple */
    --text-tertiary: #808080;       /* Medium Gray */
    --text-quaternary: #B3B3B3;     /* Light Gray */
    
    /* Semantic Colors */
    --success: #5774CD;             /* Blue-Purple */
    --warning: #FF6584;             /* Pink */
    --error: #FF6584;               /* Pink */
    --info: #5774CD;                /* Blue-Purple */
    
    /* Legacy support */
    --primary: var(--primary-blue);
    --primary-dark: #4A5BA8;
    --text: var(--text-primary);
    --text-light: var(--text-tertiary);
    --bg: var(--bg-primary);
    --border: transparent;           /* No borders in flat design */
    --shadow: none;                  /* No shadows in flat design */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Header */
.header {
    padding: 1rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(87, 116, 205, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(15%) saturate(2000%) hue-rotate(220deg) brightness(0.8) contrast(1.2);
}

.nav {
    display: flex;
    gap: 2rem;
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 10001 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile Menu Button Animation */
.mobile-menu-btn-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height for mobile */
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-nav-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 10001;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    display: block;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    transition: left 0.3s ease;
    z-index: -1;
}

.mobile-nav-link:hover::before {
    left: 0;
}

.mobile-nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Body scroll lock when mobile menu is open */
.mobile-menu-open {
    overflow: hidden;
}

/* Force mobile menu button visibility on mobile - override any conflicting styles */
@media (max-width: 768px) {
    .header .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10001 !important;
    }
}

/* Main */
.main {
    padding: 6rem 0;
    min-height: calc(100vh - 200px);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(87, 116, 205, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 101, 132, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 70vh;
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    max-width: 520px;
    text-align: left;
    padding-right: 2rem;
}

.hero-badge {
    position: absolute;
    top: -2rem;
    left: 0;
    background: var(--primary-light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideInDown 0.8s ease-out 0.2s forwards;
    box-shadow: 0 2px 8px rgba(87, 116, 205, 0.15);
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.description {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-blue);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
    box-shadow: 0 4px 12px rgba(87, 116, 205, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
}

.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;
    pointer-events: none;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 116, 205, 0.4);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(87, 116, 205, 0.3);
}

/* Ensure button is touchable on mobile */
@media (max-width: 768px) {
    .btn {
        -webkit-tap-highlight-color: rgba(87, 116, 205, 0.2);
        touch-action: manipulation;
        min-height: 48px;
    }
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Hero Illustration */
.illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.hero-illustration {
    width: 100%;
    height: auto;
    max-width: 400px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.app-icon-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--bg-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) rotateX(-8deg) rotateY(0deg) rotateZ(0deg);
    animation: fadeInScaleRotate 0.8s ease-out 1.2s forwards;
    border: 1px solid var(--bg-tertiary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out;
    cursor: pointer;
    transform-style: preserve-3d;
}

.app-icon-container:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(87, 116, 205, 0.2);
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    animation: dotFloat 3s ease-in-out infinite;
}

.dot-1 {
    top: -10px;
    left: 20px;
    animation-delay: 0s;
}

.dot-2 {
    top: 10px;
    right: -10px;
    animation-delay: 0.6s;
}

.dot-3 {
    bottom: 20px;
    left: -10px;
    animation-delay: 1.2s;
}

.dot-4 {
    bottom: -10px;
    right: 30px;
    animation-delay: 1.8s;
}

.dot-5 {
    top: 30px;
    left: -15px;
    animation-delay: 2.4s;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScaleRotate {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dotFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
    border-radius: 40px;
    margin: 2rem 0;
}

.screenshots-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.screenshots-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-carousel {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 2rem 3rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(87, 116, 205, 0.3) transparent;
}

/* Custom scrollbar for webkit browsers */
.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 0 2rem;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: rgba(87, 116, 205, 0.4);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.screenshots-carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(87, 116, 205, 0.6);
}

.screenshot-item {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transition: all 0.3s ease;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.screenshot-item:hover .app-screenshot {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(87, 116, 205, 0.2);
}

/* Fade effect on edges */
.screenshots-section .container {
    position: relative;
}

.screenshots-section .container::before,
.screenshots-section .container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 400px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.screenshots-section .container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.screenshots-section .container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Screenshots Responsive */
@media (max-width: 768px) {
    .screenshots-section {
        padding: 3rem 0;
        border-radius: 32px;
        margin: 1.5rem 0;
    }

    .screenshots-section h2 {
        font-size: 2rem;
    }

    .screenshots-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .screenshots-carousel {
        gap: 2rem;
        padding: 2rem 1rem 3rem;
    }

    .screenshot-item {
        width: 260px;
    }

    .screenshots-section .container::before,
    .screenshots-section .container::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .screenshots-section {
        padding: 2.5rem 0;
        border-radius: 24px;
        margin: 1rem 0;
    }

    .screenshots-section h2 {
        font-size: 1.75rem;
    }

    .screenshots-carousel {
        gap: 1.5rem;
        padding: 2rem 0.5rem 3rem;
    }

    .screenshot-item {
        width: 240px;
    }

    .screenshots-section .container::before,
    .screenshots-section .container::after {
        width: 40px;
        height: 300px;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-radius: 40px;
    margin: 2rem 0 3rem;
}

.features h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Base Styles */
.footer {
    padding: 3rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid rgba(87, 116, 205, 0.1);
    margin-top: 2rem;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
}

/* Mobile Legal Page Adjustments */
@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 0;
    }
    
    .legal-content {
        margin: 0 0.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        margin: 0 0.25rem;
        padding: 1.25rem;
    }
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-subtitle {
    color: var(--text-tertiary);
    text-align: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--primary-dark);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none !important;
    }
    
    /* Show mobile menu button on mobile */
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile navigation link adjustments */
    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }
    
    .main {
        padding: 3rem 0;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
    }
    
    .hero-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
        font-weight: 800;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .cta {
        align-items: center;
        width: 100%;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-illustration {
        max-width: 300px;
    }
    
    .app-icon-container {
        width: 60px;
        height: 60px;
        top: 15px;
        right: 15px;
    }
    
    .app-icon {
        width: 45px;
        height: 45px;
    }
    
    .dot {
        width: 4px;
        height: 4px;
    }
    
    .features {
        padding: 3rem 0;
        border-radius: 40px;
        margin: 1.5rem 0 2rem;
    }
    
    .features h2 {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    
    .features-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.75rem;
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }
    
    .feature h3 {
        font-size: 1.3rem;
    }
    
    .feature p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile navigation adjustments for small screens */
    .mobile-nav-link {
        font-size: 1.125rem;
        padding: 0.75rem 1.25rem;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
    
    .hamburger-line {
        width: 20px;
    }
    
    /* Contact form small mobile optimization - Much Wider */
    .contact-form {
        margin: 0.5rem auto !important;
        padding: 1.5rem !important;
        width: calc(100% - 1rem) !important;
        border-radius: 12px !important;
        border-width: 1px !important;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
        min-height: 44px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn-submit {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Legal section small mobile optimization */
    .legal-section {
        margin-bottom: 1.75rem;
        padding: 0 0.25rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .legal-section p {
        font-size: 0.875rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .contact-method h3 {
        font-size: 1rem;
    }
    
    .contact-method p,
    .contact-method ul {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 2.5rem 0;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }
    
    .subtitle {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }
    
    .cta {
        align-items: center;
        width: 100%;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-illustration {
        max-width: 250px;
    }
    
    .app-icon-container {
        width: 50px;
        height: 50px;
        top: 10px;
        right: 10px;
    }
    
    .app-icon {
        width: 35px;
        height: 35px;
    }
    
    .dot {
        width: 3px;
        height: 3px;
    }
    
    .features {
        padding: 2.5rem 0;
        border-radius: 32px;
        margin: 1rem 0 1.5rem;
    }
    
    .features h2 {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        border-radius: 16px;
    }
    
    .feature-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .feature h3 {
        font-size: 1.2rem;
    }
    
    .feature p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Contact Page Styles */
.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(87, 116, 205, 0.03), rgba(87, 116, 205, 0.08));
    border-radius: 20px;
    border: 2px solid var(--primary-blue);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(87, 116, 205, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(87, 116, 205, 0.02);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-blue);
    background: rgba(87, 116, 205, 0.01);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::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 ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-submit:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-status {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
    border: 2px solid transparent;
}

.form-status.success {
    background: rgba(52, 199, 89, 0.1);
    color: #2D7D32;
    border-color: rgba(52, 199, 89, 0.3);
}

.form-status.error {
    background: rgba(255, 59, 48, 0.1);
    color: #C62828;
    border-color: rgba(255, 59, 48, 0.3);
}

.form-status.loading {
    background: rgba(87, 116, 205, 0.1);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Contact Methods - Simple styling to match legal pages */
.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-method p {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-method ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.contact-method li {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

/* FAQ Styles - Simple styling to match legal pages */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Response Times - Simple styling to match legal pages */
.response-times {
    margin: 2rem 0;
}

.response-time {
    margin-bottom: 2rem;
}

.response-time h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.response-time p {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

/* Contact Info - Simple styling to match legal pages */
.contact-info {
    margin: 1.5rem 0;
}

.contact-info h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Contact page uses legal-title and legal-subtitle classes */

/* Responsive Contact Styles - Updated for wider mobile form */
@media (max-width: 768px) {
    .contact-form {
        margin: 1rem auto !important;
        padding: 1.75rem !important;
        max-width: none !important;
        width: calc(100% - 2rem) !important;
        border-radius: 16px !important;
        border-width: 1px !important;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 48px;
    }
    
    .form-group textarea {
        min-height: 120px;
        line-height: 1.5;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Legal section mobile optimization */
    .legal-section {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        margin-top: 1.25rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 1.25rem;
        background: rgba(87, 116, 205, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(87, 116, 205, 0.1);
    }
    
    .contact-method h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
        margin-top: 0;
    }
    
    .contact-method p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-method ul {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
    
    .contact-method li {
        margin-bottom: 0.4rem;
    }
    
    .form-status {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Footer Support Styles - Fully Responsive */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.footer-main p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

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

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0.25rem 0;
}

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

.footer-support {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 200px;
}

.footer-support p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
    text-align: right;
    line-height: 1.4;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(254, 164, 25, 0.3);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.support-btn:hover {
    background: #e6950a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 164, 25, 0.4);
}

.support-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(254, 164, 25, 0.3);
}

.support-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Buy Me A Coffee Button Image */
.support-btn-image {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.support-btn-image:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.support-btn-image:active {
    transform: translateY(-1px);
}

.bmc-button {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Responsive Footer - Tablet */
@media (max-width: 1024px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 1.25rem;
    }
    
    .footer-support {
        min-width: 180px;
    }
    
    .support-btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.875rem;
    }
}

/* Responsive Footer - Mobile Large */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-main {
        align-items: center;
        min-width: auto;
        width: 100%;
        gap: 1rem;
    }
    
    .footer-main p {
        font-size: 0.875rem;
        text-align: center;
    }
    
    .footer-support {
        align-items: center;
        min-width: auto;
        width: 100%;
        gap: 0.75rem;
    }
    
    .footer-support p {
        text-align: center;
        font-size: 0.875rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.875rem;
        padding: 0.25rem 0;
    }
    
    .support-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .bmc-button {
        height: 38px;
    }
}

/* Responsive Footer - Mobile Medium */
@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-main {
        gap: 0.75rem;
    }
    
    .footer-main p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.5rem 0.25rem;
    }
    
    .footer-support {
        gap: 0.5rem;
    }
    
    .footer-support p {
        font-size: 0.8rem;
    }
    
    .support-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .bmc-button {
        height: 36px;
        max-width: 180px;
        margin: 0 auto;
    }
}

/* Responsive Footer - Mobile Small */
@media (max-width: 360px) {
    /* Contact form micro mobile optimization - Widest */
    .contact-form {
        margin: 0.5rem auto !important;
        padding: 1.25rem !important;
        width: calc(100% - 1rem) !important;
        border-radius: 10px !important;
        border-width: 1px !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.85rem;
        min-height: 40px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .btn-submit {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Legal section micro mobile optimization */
    .legal-section {
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
    
    .legal-section h3 {
        font-size: 0.95rem;
    }
    
    .legal-section p {
        font-size: 0.8rem;
    }
    
    .contact-method {
        padding: 0.875rem;
    }
    
    .contact-method h3 {
        font-size: 0.95rem;
    }
    
    .contact-method p,
    .contact-method ul {
        font-size: 0.8rem;
    }
    
    .footer-content {
        gap: 1.25rem;
        padding: 0 0.75rem;
    }
    
    .footer-main {
        gap: 0.5rem;
    }
    
    .footer-main p {
        font-size: 0.75rem;
    }
    
    .footer-support {
        gap: 0.5rem;
    }
    
    .footer-support p {
        font-size: 0.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-links a {
        padding: 0.25rem 0;
        font-size: 0.75rem;
    }
    
    .support-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .bmc-button {
        height: 32px;
        max-width: 160px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .support-icon {
        width: 18px;
        height: 18px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .footer-main p,
    .footer-support p,
    .footer-links a {
        color: var(--text-tertiary);
    }
    
    .footer-links a:hover {
        color: var(--primary-blue);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .support-btn {
        transition: none;
    }
    
    .support-btn:hover {
        transform: none;
    }
    
    .footer-links a {
        transition: none;
    }
}