/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF4D6D;
    --primary-dark: #E63E5C;
    --primary-light: #FF7A94;
    --primary-glow: rgba(255, 77, 109, 0.3);
    --secondary: #2A2A2A;
    --secondary-light: #3A3A3A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --bg-tertiary: #1E1E1E;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 77, 109, 0.2);
    --gradient-primary: linear-gradient(135deg, #FF4D6D, #FF7A94);
    --gradient-dark: linear-gradient(135deg, #1A1A1A, #0A0A0A);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 77, 109, 0.2);
    --glow-primary: 0 0 30px rgba(255, 77, 109, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo i {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: glowPulse 2s ease-in-out infinite;
}

.nav-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 20px var(--primary-glow)); }
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover:before {
    width: 100%;
}

.nav-menu .dashboard-link {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: none;
    box-shadow: var(--shadow-glow);
}

.nav-menu .dashboard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.nav-menu .dashboard-link:before {
    display: none;
}

.logout-btn {
    background: rgba(255, 77, 109, 0.1) !important;
    border: 1px solid rgba(255, 77, 109, 0.3) !important;
    color: var(--primary) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.logout-btn:hover {
    background: rgba(255, 77, 109, 0.15) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px) !important;
}

/* User greeting styles */
.user-greeting {
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-auth {
    display: flex;
    gap: 16px;
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1520px;
        width: calc(100% - 120px);
        padding: 0 32px;
    }
}

.btn-login, .btn-signup {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-signup {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
    background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
    background: var(--primary);
}

/* Mobile Menu */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-menu.active {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links .nav-link {
    padding: 15px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: block;
}

.mobile-nav-links .nav-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-nav-links .nav-link:last-child {
    border-bottom: none;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mobile-auth-buttons .btn-login,
.mobile-auth-buttons .btn-signup {
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.mobile-auth-buttons .btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.mobile-auth-buttons .btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-auth-buttons .btn-signup {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.mobile-auth-buttons .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 0% 0%, rgba(255, 77, 109, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 100% 100%, rgba(255, 77, 109, 0.1) 0%, transparent 50%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 30 L60 30 L30 60 Z" fill="rgba(255,77,109,0.02)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-top: 58px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 12px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

/* Theme-tinted image wrapper: tints hero images to site accent colors */
.theme-image {
    position: relative;
    overflow: hidden;
}
.theme-image img {
    display: block;
    width: 100%;
    height: auto;
    /* desaturate base then darken so tint is visible */
    filter: grayscale(100%) contrast(1.05) brightness(0.55);
    transition: filter 300ms ease;
}
.theme-image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* soft pink/purple gradient overlay that matches the site palette */
    background: linear-gradient(135deg, rgba(255,77,109,0.48), rgba(255,159,179,0.26));
    mix-blend-mode: overlay;
    pointer-events: none;
}
.theme-image:hover img {
    filter: grayscale(40%) contrast(1.05) brightness(0.7);
}

/* Download page device illustration sizing */
.download-device {
    margin-right: 100px;
    display: block;
    background: linear-gradient(180deg, rgba(255,77,109,0.02), transparent);
}
.download-device svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 15px;
    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.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active:before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (min-width: 1400px) {
    .hero-container {
        max-width: 1520px;
        width: calc(100% - 120px);
        gap: 96px;
        /* Ensure two-column layout reserves space for a large phone */
        grid-template-columns: 1fr minmax(420px, 46%);
    }

    .hero-content {
        padding-left: clamp(8px, 2vw, 48px);
    }

    .hero-description {
        max-width: 560px;
    }

    .hero-visual {
        justify-content: flex-end;
    }

    .phone-mockup {
        margin-left: 0;
        margin-right: 100px;
        max-width: 100%;
    }
}

/* Large-screen floating icon adjustments */
@media (min-width: 1400px) {
    .floating-icon {
        width: clamp(44px, 3vw, 64px);
        height: clamp(44px, 3vw, 64px);
        animation-duration: 9s;
    }

    .floating-icon:nth-child(1) {
        top: 8%;
        right: clamp(6%, 2vw, 8%);
    }

    .floating-icon:nth-child(2) {
        top: 58%;
        left: clamp(6%, 2vw, 8%);
    }

    .floating-icon:nth-child(3) {
        bottom: 18%;
        right: clamp(4%, 1.6vw, 6%);
    }
    .security-status {
        margin-top: 100px;
        text-align: center;
        margin-bottom: 40px;
    }
    .threat-indicators {
        margin-top: 100px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

.phone-mockup {
    margin-top: 68px;
    /* Responsive width: min size, preferred vw-based scaling, max size */
    width: clamp(320px, 22vw, 680px);
    aspect-ratio: 1 / 2;
    height: auto;
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: clamp(28px, 2vw, 48px);
    padding: 10px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--bg-primary), #0F0F0F);
    border-radius: 30px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.app-header i {
    font-size: 22px;
}

.security-status {
    text-align: center;
    margin-bottom: 40px;
}

.status-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 0 0 8px rgba(255, 77, 109, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 77, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.status-circle.active:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.threat-indicators {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.indicator:hover {
    border-color: rgba(255, 77, 109, 0.3);
    background: rgba(255, 77, 109, 0.05);
    transform: translateX(5px);
}

.indicator .phish{
    color: var(--primary);
}

.indicator .deepfa{
    color: #4A90E2;
}
.indicator .stego{
    color: #F5A623;
}
.indicator .statusphisha{
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(255, 77, 109, 0.1);
    border-radius: 20px;
}

.indicator .statusdeepfaa{
    color: #4A90E2;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 20px;
}
.indicator .statusstegoa{
    color: #F5A623;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 20px;
}

.indicator i {
    width: 20px;
    font-size: 16px;
}

.indicator span:first-of-type {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floatAround 10s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-elements .we{
    color: var(--primary);
}

.floating-elements .are{
    color: #4A90E2;
}

.floating-elements .venom{
    color: #F5A623;
}

.floating-icon:nth-child(1) {
    top: 10%;
    right: -5%;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: -5%;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    right: -2%;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -20px) rotate(120deg); }
    66% { transform: translate(-10px, 15px) rotate(240deg); }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.phishing-card:before {
    background: var(--gradient-primary);
}

.feature-card.deepfake-card:before {
    background: linear-gradient(135deg, #4A90E2, #6A5ACD);
}

.feature-card.steganography-card:before {
    background: linear-gradient(135deg, #F5A623, #FF6B6B);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 77, 109, 0.3);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.feature-card:hover:before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 28px;
    position: relative;
    overflow: hidden;
}

.feature-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
}

.feature-icon.phishing {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-icon.deepfake {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.feature-icon.steganography {
    background: linear-gradient(135deg, #F5A623, #E09612);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-benefits span {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.phishing-card .feature-benefits span:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.deepfake-card .feature-benefits span:hover {
    color: #4A90E2;
    transform: translateX(5px);
}

.steganography-card .feature-benefits span:hover {
    color: #F5A623;
    transform: translateX(5px);
}

.feature-benefits i {
    font-size: 12px;
    color: inherit;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-features {
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateX(10px);
}

.feature-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: var(--shadow-glow);
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.stat-item .phish{
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}
.stat-item .deep{
    color: #4A90E2;
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}
.stat-item .stego{
    color: #F5A623;
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.stat-item .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-item .stat-text {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.security-dashboard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--primary);
    padding: 6px 12px;
    background: rgba(255, 77, 109, 0.1);
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

.threat-counter {
    text-align: center;
    margin-bottom: 28px;
    padding: 24px;
    background: rgba(255, 77, 109, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 109, 0.1);
}

.counter-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.counter-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

.protection-modules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.module:hover {
    transform: translateX(8px);
    background: rgba(255, 77, 109, 0.05);
    border-color: var(--primary);
}

.module i {
    width: 24px;
    font-size: 18px;
}

.module span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.module-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Module Color Classes */
.phishing-module {
    border-left: 4px solid var(--primary);
}
.phishing-module i {
    color: var(--primary);
}
.phishing-module .module-status {
    background: rgba(255, 77, 109, 0.1);
    color: var(--primary);
}

.deepfake-module {
    border-left: 4px solid #4A90E2;
}
.deepfake-module i {
    color: #4A90E2;
}
.deepfake-module .module-status {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

.steganography-module {
    border-left: 4px solid #F5A623;
}
.steganography-module i {
    color: #F5A623;
}
.steganography-module .module-status {
    background: rgba(245, 166, 35, 0.1);
    color: #F5A623;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    position: relative;
}

.download-content .section-header.center {
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.download-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.download-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 77, 109, 0.3);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.download-card:hover:before {
    opacity: 1;
}

.download-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 36px;
    color: white;
    box-shadow: var(--shadow-glow);
}

.download-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 15px;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 16px;
}

.download-features span {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.download-features span:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.file-size {
    font-size: 13px;
    opacity: 0.8;
    margin-left: auto;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.system-requirements {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.system-requirements h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-primary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.requirement-item {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.requirement-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Browser Extensions Section */
.extensions-section {
    margin-top: 80px;
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.extension-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.extension-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 77, 109, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.extension-card:hover:before {
    opacity: 1;
}

.extension-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.2), rgba(255, 122, 148, 0.1));
    border: 2px solid rgba(255, 77, 109, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.extension-card:hover .extension-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

.extension-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.extension-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.extension-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.extension-features span {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.extension-features span i {
    color: var(--primary);
    font-size: 12px;
}

.extension-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.15), rgba(255, 122, 148, 0.1));
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.extension-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

.extension-btn i {
    font-size: 16px;
}

.extension-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 167, 38, 0.05);
    border: 1px solid rgba(255, 167, 38, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

.extension-note i {
    color: #FFA726;
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.footer-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    margin-top: -4px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 300px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px 0;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 77, 109, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.auth-form {
    padding: 0 28px 28px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.1);
    background: rgba(255, 77, 109, 0.02);
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin: 0;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    background: var(--bg-secondary);
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.google-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.google-btn i {
    color: var(--primary);
    font-size: 18px;
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.auth-switch a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Loading States */
.auth-btn:disabled,
.google-btn:disabled,
.btn-login:disabled,
.btn-signup:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo i {
        font-size: 24px;
    }

    .nav-logo img {
        width: 32px;
        height: 32px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu, .nav-auth {
        display: none;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-badge {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 250px;
        text-align: center;
        background: rgba(255, 255, 255, 0.02);
        padding: 20px;
        border-radius: 16px;
        border: 1px solid var(--border-color);
    }
    
    .phone-mockup {
        /* smaller desktops/tablets: still responsive */
        width: clamp(260px, 30vw, 480px);
        aspect-ratio: 1 / 2;
        height: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px 20px 0;
    }
    
    .auth-form {
        padding: 0 20px 20px;
    }
    
    .form-group input {
        padding: 16px;
        font-size: 16px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .download-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .system-requirements {
        padding: 24px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu, .nav-auth {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .phone-mockup {
        width: clamp(260px, 40vw, 560px);
        aspect-ratio: 1 / 2;
        height: auto;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 500px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-modal.active {
    display: flex;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.custom-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close-btn {
    background: rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.3);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 32px;
}

/* Download Modal Content */
.download-modal-content h3 {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.install-steps {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 24px 24px 44px;
    margin: 20px 0;
}

.install-steps li {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.install-steps li strong {
    color: var(--text-primary);
}

.install-steps li code {
    background: rgba(255, 77, 109, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.download-action {
    text-align: center;
    margin: 32px 0;
}

.download-note {
    background: rgba(255, 167, 38, 0.05);
    border: 1px solid rgba(255, 167, 38, 0.2);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.download-note i {
    color: #FFA726;
    font-size: 18px;
}

.platform-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.platform-option {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.platform-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.platform-option i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary);
}

.platform-option h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.platform-option p {
    font-size: 13px;
    color: var(--text-hint);
    margin-top: 12px;
}

/* Extension Modal Content */
.extension-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.extension-modal-header i {
    font-size: 48px;
    color: var(--primary);
}

.extension-modal-header h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.install-steps-container {
    margin-bottom: 32px;
}

.install-steps-container h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

.extension-requirements {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.extension-requirements h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.extension-requirements ul {
    padding-left: 24px;
}

.extension-requirements li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
}

.extension-note-box {
    background: rgba(255, 167, 38, 0.05);
    border: 1px solid rgba(255, 167, 38, 0.2);
    border-left: 4px solid #FFA726;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.extension-note-box i {
    color: #FFA726;
    font-size: 24px;
    flex-shrink: 0;
}

.extension-note-box p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.extension-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
}

.notification.show {
    right: 24px;
}

.notification i {
    font-size: 20px;
}

.notification-info i {
    color: #29B6F6;
}

.notification-success i {
    color: #4CAF50;
}

.notification-warning i {
    color: #FFA726;
}

.notification-error i {
    color: var(--primary);
}

.notification span {
    color: var(--text-primary);
    font-size: 14px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1024px;
        padding: 0 30px;
    }
    
    .nav-container {
        max-width: 1024px;
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-feature {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .stat-item {
        max-width: 200px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    .auth-btn,
    .google-btn,
    .modal-close,
    .forgot-link,
    .auth-switch a,
    .mobile-menu-toggle {
        min-height: 48px;
        min-width: 48px;
    }
    
    .btn,
    .auth-btn,
    .google-btn {
        padding: 18px 24px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    .checkbox-label {
        padding: 12px 0;
        min-height: 48px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

/* ========== Mobile Performance Optimizations ========== */
@media (max-width: 768px) {
    /* Reduce backdrop-filter on mobile for better performance */
    .navbar,
    .feature-card,
    .download-card,
    .extension-card,
    .pricing-card,
    .stat,
    .hero-badge,
    .testimonial-card,
    .faq-item,
    .cta-section,
    .contact-form-container {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }
    
    /* GPU-accelerate animated elements */
    .phone-mockup,
    .feature-card,
    .download-card,
    .extension-card,
    .fade-in,
    .fadeInUp,
    .slideInLeft,
    .slideInRight {
        will-change: transform, opacity;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Disable non-essential animations on mobile */
    .phone-mockup {
        animation: none !important;
    }
    
    .floating-icon {
        animation: none !important;
        display: none;
    }
    
    /* Reduce animation complexity */
    .nav-logo img,
    .nav-logo i,
    .footer-logo i,
    .footer-logo img {
        animation: none !important;
        filter: drop-shadow(0 0 8px var(--primary-glow)) !important;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}