@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600&display=swap');

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

:root {
    /* Premium Color System */
    --primary-hue: 250;
    --accent-hue: 280;

    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfd;
    --bg-tertiary: #f3f4f8;
    --bg-overlay: rgba(255, 255, 255, 0.9);

    --text-primary: #0a0e27;
    --text-secondary: #4a5578;
    --text-tertiary: #6b7394;
    --text-muted: #9ca3af;

    --border-color: rgba(10, 14, 39, 0.06);
    --border-light: rgba(10, 14, 39, 0.03);

    --accent: #6366f1;
    --accent-hover: #5558e3;
    --accent-light: rgba(99, 102, 241, 0.1);

    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(250, 100%, 74%, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(280, 100%, 60%, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.05) 0px, transparent 50%);
    --gradient-glow: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
    rgba(99, 102, 241, 0.15), transparent 40%);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="dark"] {
    /* Dark Mode Premium Colors */
    --bg-primary: #0a0b14;
    --bg-secondary: #0f1019;
    --bg-tertiary: #14151f;
    --bg-overlay: rgba(10, 11, 20, 0.9);

    --text-primary: #f7f8fa;
    --text-secondary: #b8bcc8;
    --text-tertiary: #8b92a7;
    --text-muted: #5a6478;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);

    --accent: #818cf8;
    --accent-hover: #9333ea;
    --accent-light: rgba(129, 140, 248, 0.1);

    --glass-bg: rgba(15, 16, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    --gradient-mesh: radial-gradient(at 40% 20%, hsla(250, 100%, 74%, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(280, 100%, 60%, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.03) 0px, transparent 50%);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
    z-index: 1;
}

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
    z-index: 0;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Premium Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Premium Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Premium Animated Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    width: 45px;
    height: 45px;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(3deg); }
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-badge {
    position: absolute;
    top: -8px;
    right: -35px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Premium Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-light);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::before {
    opacity: 1;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-radius: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px 0 rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.4);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Theme Toggle Premium */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-primary);
    transition: transform 0.5s;
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

/* Hero Section Premium */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-content .subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Premium Inbox Preview */
.inbox-preview {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.inbox-preview:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.inbox-header {
    background: var(--bg-secondary);
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.inbox-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

/* Premium Feature Cards */
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--accent);
}

/* Premium Pricing Cards */
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--glass-bg), var(--accent-light));
    border: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

/* Premium Badge */
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* Trust Badges Premium */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-light);
    position: relative;
}

.badge-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.badge-value {
    font-size: 2rem;
    font-weight: 300;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
}

.badge-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
}

/* Loading Shimmer */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg,
    var(--bg-secondary) 25%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glow Effects */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(30px);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .inbox-preview {
        transform: none;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Styles */
.features {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.pricing {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.contact {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    border-radius: 50px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

/* Premium Footer */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 2;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    background: var(--accent-light);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}
/* ============================================
   MOBILE NAVIGATION ENHANCEMENTS
   ============================================ */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.mobile-menu-logo svg {
    width: 35px;
    height: 35px;
}

.mobile-menu-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-menu-close:hover {
    background: var(--accent-light);
    transform: rotate(90deg);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 1.5rem;
    flex: 1;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    border-radius: 12px;
    transition: var(--transition-smooth);
    margin-bottom: 0.5rem;
    position: relative;
}

.mobile-nav-link:hover {
    background: var(--accent-light);
    color: var(--accent);
    transform: translateX(5px);
}

.mobile-nav-link::after {
    content: '→';
    position: absolute;
    right: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s, right 0.3s;
}

.mobile-nav-link:hover::after {
    opacity: 1;
    right: 1rem;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.mobile-menu-actions .btn {
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
}

.mobile-menu-actions .btn:last-child {
    margin-bottom: 0;
}

/* Mobile Theme Toggle in Menu */
.mobile-theme-section {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-theme-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Navbar Mobile Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0;
    }

    .navbar-content {
        height: 65px;
        padding: 0 1rem;
    }

    .logo-container {
        gap: 8px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-badge {
        font-size: 0.5rem;
        padding: 2px 5px;
        right: -30px;
        top: -6px;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   MOBILE FOOTER ENHANCEMENTS
   ============================================ */

/* Footer Mobile Styles */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    /* Footer Brand Section - Mobile */
    .footer-brand {
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .footer-brand h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .footer-brand p {
        font-size: 0.9rem;
        max-width: 300px;
        margin: 0 auto 1.5rem !important;
    }

    .footer-social-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-social-links a {
        width: 40px !important;
        height: 40px !important;
    }

    /* Footer Columns - Mobile Accordion */
    .footer-column {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column h4 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0;
        margin-bottom: 0 !important;
        cursor: pointer;
        user-select: none;
        position: relative;
    }

    .footer-column h4::after {
        content: '+';
        font-size: 1.25rem;
        font-weight: 300;
        color: var(--text-secondary);
        transition: transform 0.3s;
    }

    .footer-column.active h4::after {
        transform: rotate(45deg);
    }

    .footer-column ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .footer-column.active ul {
        max-height: 300px;
        padding-bottom: 1rem;
    }

    .footer-column li {
        margin-bottom: 0.75rem !important;
    }

    .footer-column a {
        display: block;
        padding: 0.25rem 0;
    }

    /* Footer Bottom - Mobile */
    .footer-bottom {
        padding-top: 2rem !important;
        margin-top: 2rem !important;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-bottom-links span {
        margin: 0 0.5rem !important;
    }

    .footer-copyright {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-menu {
        width: 90%;
    }

    .mobile-nav-link {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .footer-column a {
        font-size: 0.85rem !important;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Smooth transitions for all mobile elements */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    .theme-toggle {
        width: 45px;
        height: 45px;
    }
}
/* ============================================
   RESPONSIVE LAYOUT ADDITIONS FOR INDEX PAGE
   Add these to your existing index.css or style.css
   ============================================ */

/* Hero Section Responsive */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-grid {
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .hero-content .subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    /* Hero Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    /* Trust Badges Mobile */
    .trust-badges {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .badge-item {
        text-align: center;
        min-width: 90px;
    }

    .badge-value {
        font-size: 1.5rem;
    }

    .badge-label {
        font-size: 0.75rem;
    }
}

/* Inbox Preview Responsive */
@media (max-width: 1024px) {
    .inbox-preview {
        transform: perspective(1200px) rotateY(-10deg) rotateX(3deg);
    }
}

@media (max-width: 768px) {
    .inbox-preview {
        transform: none;
        border-radius: 16px;
        margin: 0 -1rem;
    }

    .inbox-preview:hover {
        transform: none;
    }

    .inbox-header {
        padding: 1rem;
    }

    .inbox-tabs {
        display: none !important;
    }

    .email-list {
        padding: 0.75rem !important;
    }

    .email-item {
        padding: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .email-item > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .email-item > div:first-child > div:first-child {
        width: 100%;
    }

    .email-item > div:first-child > div:last-child {
        align-self: flex-end;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .inbox-preview {
        margin: 0;
        border-radius: 12px;
    }

    .inbox-dots {
        transform: scale(0.8);
    }

    .email-item {
        padding: 0.875rem !important;
    }

    .email-item div[style*="width: 45px"] {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.875rem;
    }
}

/* Features Section Responsive */
@media (max-width: 1024px) {
    .features {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 4rem 0;
    }

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

    .section-label {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 3rem;
    }

    .feature-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .feature-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .feature-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 1.5rem !important;
    }

    .feature-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0;
    }
}

/* Pricing Section Responsive */
@media (max-width: 1024px) {
    .pricing {
        padding: 5rem 0;
    }

    .pricing-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 4rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .pricing-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 0;
    }

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

    /* Pricing Card Typography Mobile */
    .pricing-card > div:first-child {
        font-size: 1.5rem !important;
    }

    .pricing-card p {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }

    .pricing-card span[style*="font-size: 4rem"] {
        font-size: 3rem !important;
    }

    .pricing-card span[style*="font-size: 1.75rem"] {
        font-size: 1.5rem !important;
    }

    .pricing-card span[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }

    .pricing-card ul {
        margin-bottom: 2rem !important;
    }

    .pricing-card li {
        padding: 0.875rem 0 !important;
        font-size: 0.9rem;
    }

    .pricing-card li svg {
        width: 20px !important;
        height: 20px !important;
    }

    .pricing-badge {
        font-size: 0.7rem !important;
        padding: 0.375rem 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 3rem 0;
    }

    .pricing-card {
        padding: 1.75rem;
        border-radius: 16px;
    }

    .pricing-card > div:first-child {
        font-size: 1.35rem !important;
    }

    .pricing-card span[style*="font-size: 4rem"],
    .pricing-card span[style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
    }

    .pricing-card li {
        padding: 0.75rem 0 !important;
        font-size: 0.85rem;
    }
}

/* Global Responsive Utilities */
@media (max-width: 768px) {
    /* Container Adjustments */
    .container {
        padding: 0 1.25rem;
    }

    /* Button Adjustments */
    .btn {
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.875rem 1.75rem;
    }

    /* Typography Scaling */
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    h3 {
        font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
    }

    p {
        font-size: 0.95rem;
    }

    /* Reveal Animation Optimization */
    .reveal {
        animation-duration: 0.5s;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Small Button Adjustments */
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Landscape Mobile Adjustments */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 30px;
    }

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

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .inbox-preview {
        max-height: 400px;
        overflow: hidden;
    }
}

/* Tablet Portrait Specific */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 3rem auto 0;
    }
}

/* High Resolution Mobile Displays */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px),
(min-resolution: 192dpi) and (max-width: 768px) {
    /* Optimize for retina displays */
    .feature-icon,
    .pricing-badge {
        will-change: transform;
    }

    .btn {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }

    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .hero-buttons,
    .gradient-bg,
    .particles {
        display: none !important;
    }

    .hero,
    .features,
    .pricing {
        page-break-inside: avoid;
    }
}
/* ============================================
   CONTACT SECTION STYLES
   Add these to your index.css or style.css file
   ============================================ */

/* Contact Section Base Styles */
.contact {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* Contact Form Styles */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.info-content h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Form Submission Animation */
@keyframes submitPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.btn[type="submit"]:active {
    animation: submitPulse 0.2s ease;
}

/* ============================================
   CONTACT SECTION RESPONSIVE STYLES
   ============================================ */

/* Tablet Responsive */
@media (max-width: 1024px) {
    .contact {
        padding: 5rem 0;
    }

    .contact-grid {
        gap: 3rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .info-card {
        padding: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .contact-form {
        padding: 2rem;
        border-radius: 20px;
        order: 2;
    }

    .contact-info {
        order: 1;
    }

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

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .info-card {
        padding: 1.75rem;
        border-radius: 20px;
    }

    .info-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-content h4 {
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
    }

    .info-content p {
        font-size: 1rem;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }

    .contact-grid {
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
        margin: 0 -0.5rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .info-title {
        font-size: 1.125rem;
    }

    .info-item {
        gap: 0.875rem;
    }

    .info-icon {
        width: 38px;
        height: 38px;
    }

    .info-content p {
        font-size: 0.95rem;
    }
}

/* Touch Device Optimizations for Contact Section */
@media (hover: none) and (pointer: coarse) {
    .form-input,
    .form-textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .contact-form:hover,
    .info-card:hover {
        transform: none;
    }
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

/* Landscape Mobile Adjustments */
@media (max-width: 896px) and (orientation: landscape) {
    .contact {
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-form,
    .info-card {
        padding: 1.5rem;
    }

    .form-textarea {
        min-height: 80px;
    }
}