/* ============================================
   GovCracker Website - Modern CSS Styles
   ============================================ */

/* CSS Variables - Emerald Security Theme */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --primary-bg: #ECFDF5;
    --secondary: #F59E0B;
    --accent: #8B5CF6;
    --purple: #8B5CF6;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-medium: #334155;
    --text: #E2E8F0;
    --text-light: #CBD5E1;
    --text-muted: #94A3B8;
    --white: #ffffff;
    --bg: #0F172A;
    --bg-card: #1E293B;
    --card-bg: #1E293B;
    --border: rgba(16, 185, 129, 0.2);
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-colored: rgba(16, 185, 129, 0.25);
    --gradient: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #8B5CF6 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #334155 70%, #0F172A 100%);
    --gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: 0 4px 25px var(--shadow-colored), 0 0 40px rgba(16, 185, 129, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4), 0 0 60px rgba(16, 185, 129, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    width: 200px;
    height: auto;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    position: relative;
}

.language-switcher::before {
    content: '\f0ac';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 14px;
    color: var(--primary);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.lang-select {
    padding: 12px 40px 12px 42px;
    border: 2px solid var(--border);
    background: var(--dark-light);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300D4FF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    min-width: 140px;
}

.lang-select:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary);
}

.lang-select option {
    background: var(--dark);
    color: var(--text);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    padding: 10px;
    position: relative;
    z-index: 10001;
}

.mobile-lang-wrapper {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

/* Animated grid lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-badge::before {
    content: '🔐';
}

.hero h1 {
    margin-bottom: 28px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #10B981 0%, #34D399 30%, #F59E0B 70%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(10px);
    min-width: 100px;
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-content .hero-requirements {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
}

.hero-image {
    position: relative;
    align-self: flex-start;
    margin-top: -15px;
}

.app-preview {
    position: relative;
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-preview img {
    width: 100%;
    max-width: 850px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(16, 185, 129, 0.2), 0 0 60px rgba(16, 185, 129, 0.1);
    transform: rotateY(-5deg) translateX(30px);
    transition: transform 0.5s ease;
}

.app-preview:hover img {
    transform: rotateY(0deg) translateX(30px);
}

.floating-card {
    position: absolute;
    background: var(--dark-light);
    padding: 18px 26px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border);
}

.floating-card i {
    color: var(--primary);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
}

.floating-card span {
    font-weight: 600;
    color: var(--text);
}

.card-1 {
    top: 15%;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    right: -40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 0;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-wave {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, var(--dark) 0%, transparent 100%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: var(--dark);
}

.feature-card h3 {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Attack Modes Section */
.attack-modes {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
}

.attack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.attack-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(21, 34, 56, 0.8) 100%);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
    display: flex;
    gap: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.attack-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.attack-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.attack-card:hover::before {
    opacity: 1;
}

.attack-card-wide {
    grid-column: span 2;
}

.attack-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25);
}

.attack-icon i {
    font-size: 2rem;
    color: var(--dark);
}

.attack-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.attack-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* GovCluster Section */
.govcluster {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--dark) 100%);
    position: relative;
}

.govcluster-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.govcluster-text h2 {
    margin-bottom: 24px;
}

.govcluster-text > p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cluster-features {
    display: grid;
    gap: 20px;
}

.cluster-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.cluster-feature:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.cluster-feature i {
    color: var(--primary);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.cluster-feature-text h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.cluster-feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cluster-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.central-server {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4), 0 0 0 0 rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 25px 80px rgba(16, 185, 129, 0.5), 0 0 0 20px rgba(16, 185, 129, 0); }
}

.central-server i {
    font-size: 3rem;
    color: var(--dark);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.orbit-1 { width: 220px; height: 220px; }
.orbit-2 { width: 300px; height: 300px; animation-duration: 40s; animation-direction: reverse; }
.orbit-3 { width: 380px; height: 380px; animation-duration: 50s; }

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.agent-node {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    animation: float 3s ease-in-out infinite;
}

.agent-node i {
    color: var(--primary);
    font-size: 1.25rem;
}

.agent-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.agent-2 { top: 25%; right: 5%; animation-delay: 0.5s; }
.agent-3 { bottom: 25%; right: 5%; animation-delay: 1s; }
.agent-4 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.agent-5 { bottom: 25%; left: 5%; animation-delay: 2s; }
.agent-6 { top: 25%; left: 5%; animation-delay: 2.5s; }

/* Hash Extraction Section */
.extraction {
    padding: 120px 0;
    background: var(--dark);
}

.extraction-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.format-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.format-category {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.format-category:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
}

.format-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.format-category h3 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.format-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.format-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.format-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.05) 100%);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
    min-height: 260px;
}

.pricing-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-tax {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 8px;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.pricing-feature i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
}

.pricing-feature.pricing-limit {
    color: var(--text-muted);
}

.pricing-feature.pricing-limit i {
    color: var(--secondary);
}

.btn-block {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 30px;
    }
}

/* Download Section */
.download {
    padding: 120px 0;
    background: var(--gradient-hero);
    position: relative;
}

.download-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(21, 34, 56, 0.9) 100%);
    border-radius: 32px;
    padding: 80px;
    text-align: left;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.download-content h2 {
    margin-bottom: 24px;
}

.download-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-info {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.download-info i {
    color: var(--primary);
}

.download-visual img {
    max-width: 300px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

/* TraceHunt3r Section */
.tracehunter {
    padding: 100px 0;
    background: var(--bg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 280px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-attribution {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Legal Pages */
.legal-hero {
    background: var(--gradient-hero);
    padding: 140px 0 60px;
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.legal-hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 80px 0;
    background: var(--bg);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 1.3rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.legal-tab {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.legal-tab.active {
    background: var(--gradient);
    color: var(--dark);
    border-color: transparent;
}

.company-card {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    border: 1px solid var(--border);
}

.company-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 2rem;
}

.company-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    margin-top: 0;
}

.company-info p {
    margin-bottom: 8px;
}

.company-info .label {
    font-weight: 600;
    color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-card .value {
    font-weight: 600;
    color: var(--white);
}

.back-link {
    position: fixed;
    top: 100px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content .hero-requirements {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .app-preview img {
        max-width: 500px;
    }

    .floating-card {
        padding: 12px 18px;
    }

    .floating-card i {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .attack-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .attack-card {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        flex-direction: column !important;
        text-align: center !important;
        padding: 32px !important;
    }

    .attack-card::before {
        display: none !important;
    }

    .attack-card[style*="grid-column: span 2"],
    .attack-card-wide {
        grid-column: span 1 !important;
        width: 100% !important;
    }

    .attack-icon {
        margin: 0 auto 16px auto !important;
    }

    .govcluster-content {
        grid-template-columns: 1fr;
    }

    .cluster-visual {
        order: -1;
    }

    .network-container {
        width: 300px;
        height: 300px;
    }

    .format-categories {
        grid-template-columns: 1fr;
    }

    .download-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .download-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        width: 100%;
        z-index: 10000;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #0F172A;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 9999;
        padding: 100px 20px 40px 20px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 14px 24px;
        color: var(--white);
        text-decoration: none;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(16, 185, 129, 0.15);
        color: var(--primary);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10001;
    }

    .mobile-menu-btn i {
        font-size: 1.5rem;
        color: var(--white);
    }

    .mobile-lang-wrapper {
        display: block;
        margin-top: 20px;
        width: 100%;
        max-width: 250px;
    }

    .mobile-lang-wrapper .lang-select {
        width: 100%;
    }

    .nav-right {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .attack-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .attack-card {
        width: 100% !important;
        flex-direction: column !important;
        text-align: center;
        height: auto !important;
        min-height: auto !important;
        padding: 32px !important;
    }

    .attack-card::before {
        display: none !important;
    }

    .attack-card[style*="grid-column"],
    .attack-card-wide {
        grid-column: auto !important;
        width: 100% !important;
    }

    .attack-icon {
        margin: 0 auto 16px auto;
    }

    .app-preview img {
        max-width: 100%;
    }

    .floating-card {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .company-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .company-logo {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .stat {
        min-width: 80px;
        padding: 12px 16px;
    }

    .attack-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .attack-card {
        padding: 24px !important;
        flex-direction: column !important;
        text-align: center !important;
        height: auto !important;
        min-height: auto !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .attack-card::before {
        display: none !important;
    }

    .attack-card[style*="grid-column"],
    .attack-card-wide {
        grid-column: auto !important;
    }

    .attack-icon {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .attack-icon i {
        font-size: 1.5rem;
    }
}

/* RTL Support for Arabic */
body.rtl {
    text-align: right;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .navbar .logo {
    margin-right: 0;
    margin-left: auto;
}

body.rtl .nav-right {
    margin-left: 0;
    margin-right: auto;
}

body.rtl .feature-card,
body.rtl .attack-card {
    text-align: right;
}

body.rtl .feature-icon,
body.rtl .attack-icon {
    margin-right: 0;
    margin-left: 20px;
}

body.rtl .stat {
    text-align: right;
}

body.rtl .pricing-feature {
    flex-direction: row-reverse;
}

body.rtl .pricing-feature i {
    margin-right: 0;
    margin-left: 12px;
}

body.rtl ul,
body.rtl ol {
    padding-right: 20px;
    padding-left: 0;
}

body.rtl .footer-col {
    text-align: right;
}

body.rtl .btn {
    direction: ltr;
}

/* ============================================
   Download Modal Styles
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 50px rgba(16, 185, 129, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--white);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-btn {
    min-width: 150px;
    justify-content: center;
}
