/* EchoVaults Website Styles - Matching App Theme Exactly */

/* Font Declarations */
@font-face {
    font-family: 'Corpernicus';
    src: url('../fonts/Corpernicus-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Corpernicus';
    src: url('../fonts/Corpernicus-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Corpernicus';
    src: url('../fonts/Corpernicus-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'StyreneB';
    src: url('../fonts/StyreneB-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'StyreneB';
    src: url('../fonts/StyreneB-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'StyreneB';
    src: url('../fonts/StyreneB-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'StyreneB';
    src: url('../fonts/StyreneB-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* Color Variables - Exact App Theme Colors */
:root {
    /* Background Colors - Exact matches from app_theme.dart */
    --bg-dark: #0A0A0D;
    --bg-medium: #121217;
    --bg-light: #1E1E28;
    
    /* Accent Colors - Exact matches from app_theme.dart */
    --accent-purple: #7209B7;
    --accent-blue: #4361EE;
    --accent-teal: #4CC9F0;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A8A8B3;
    --text-muted: #6B7280;
    
    /* Status Colors */
    --success: #2EC4B6;
    --warning: #FF9F1C;
    --danger: #E71D36;
    
    /* Gradients - Matching app gradients */
    --gradient-primary: linear-gradient(135deg, #4361EE, #7209B7);
    --gradient-secondary: linear-gradient(135deg, #4CC9F0, #4361EE);
    --gradient-accent: linear-gradient(135deg, #7209B7, #4CC9F0);
    
    /* Glassmorphic Effects - Exact matches from app */
    --glass-bg: rgba(114, 9, 183, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-backdrop: blur(15px);
    
    /* Enhanced glassmorphic variants */
    --glass-bg-strong: rgba(114, 9, 183, 0.15);
    --glass-bg-subtle: rgba(114, 9, 183, 0.05);
    --glass-border-strong: rgba(76, 201, 240, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'StyreneB', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background - Subtle like the app */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Improved Glassmorphic Container - Exact App Style */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 9, 183, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(76, 201, 240, 0.1) 100%
    );
    border-radius: inherit;
    z-index: -1;
}

.glass-container:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Corpernicus', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #FFFFFF, #4361EE, #7209B7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(67, 97, 238, 0.3);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
}

p {
    font-family: 'StyreneB', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 13, 0.95);
    backdrop-filter: blur(30px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(114, 9, 183, 0.4);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.logo-text {
    font-family: 'Corpernicus', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: 'StyreneB', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(114, 9, 183, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(114, 9, 183, 0.5);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 20px rgba(76, 201, 240, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 201, 240, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: 0 4px 20px rgba(76, 201, 240, 0.3);
}

.btn-text {
    background: transparent;
    color: var(--accent-teal);
    border: none;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeInRight 1s ease 1.1s forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.03), rgba(67, 97, 238, 0.03));
}

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

/* Features Section - Universal Container */
.features {
    padding: 6rem 0;
}

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

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

.section-subtitle {
    color: var(--accent-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 9, 183, 0.1) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(76, 201, 240, 0.05) 100%
    );
    border-radius: inherit;
    z-index: -1;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.use-case-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 9, 183, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(76, 201, 240, 0.1) 100%
    );
    border-radius: inherit;
    z-index: -1;
}

.use-case-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.use-case-story {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 4px solid var(--danger);
}

.use-case-solution {
    background: rgba(76, 201, 240, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-teal);
}

.use-case-solution h4 {
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.use-case-solution p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.use-case-source {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-source small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.use-case-source a {
    color: var(--accent-teal);
    text-decoration: none;
}

.use-case-source a:hover {
    text-decoration: underline;
}

.use-cases-stats {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
}

.how-it-works-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.protection-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.level-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-basic {
    border-color: var(--success);
}

.level-sensitive {
    border-color: var(--accent-blue);
}

.level-ultra {
    border-color: var(--accent-purple);
}

.level-header {
    text-align: center;
    margin-bottom: 2rem;
}

.level-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 20px rgba(114, 9, 183, 0.4);
}

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

.level-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.level-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.level-content li::before {
    content: '•';
    color: var(--accent-teal);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.level-process {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Security Section */
.security {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.03), rgba(114, 9, 183, 0.03));
}

.security-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-features {
    list-style: none;
    margin-top: 2rem;
}

.security-features li {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.security-features li::before {
    content: '•';
    color: var(--accent-teal);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Security Visualization */
.security-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.encryption-layers {
    position: relative;
    width: 300px;
    height: 300px;
}

.layer {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: rotate 20s linear infinite;
}

.layer-1 {
    width: 100%;
    height: 100%;
    border-color: var(--accent-teal);
    background: rgba(76, 201, 240, 0.1);
    color: var(--accent-teal);
}

.layer-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: var(--accent-blue);
    background: rgba(67, 97, 238, 0.1);
    color: var(--accent-blue);
    animation-direction: reverse;
}

.layer-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: var(--accent-purple);
    background: rgba(114, 9, 183, 0.1);
    color: var(--accent-purple);
}

.center-vault {
    position: absolute;
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(114, 9, 183, 0.5);
}

/* Why Free Section */
.why-free {
    padding: 6rem 0;
}

.why-free-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.free-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.reason-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1.5px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.reason-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 9, 183, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(76, 201, 240, 0.1) 100%
    );
    border-radius: inherit;
    z-index: -1;
}

.donation-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--glass-bg-subtle);
    border-radius: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.donation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* CTA Section - Universal Container */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.03), rgba(114, 9, 183, 0.03));
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Download Section */
.download-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(114, 9, 183, 0.05));
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-teal);
    box-shadow: 0 8px 32px rgba(76, 201, 240, 0.3);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.download-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.download-note a {
    color: var(--accent-teal);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-medium);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--bg-medium);
    border: 1.5px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: 'StyreneB', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent-teal);
}

.checkbox-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-notice {
    padding: 1rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-teal);
}

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

.form-notice strong {
    color: var(--accent-teal);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .security-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .protection-levels {
        grid-template-columns: 1fr;
    }
    
    .free-reasons {
        grid-template-columns: 1fr;
    }
    
    .download-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .use-case-card {
        padding: 1.5rem;
    }
    
    .glass-container {
        padding: 1.5rem;
    }
    
    .reason-card {
        padding: 1.5rem;
    }
    
    .use-case-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .use-case-header h3 {
        font-size: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-container {
        padding: 0 1rem;
    }
    
    .cta-container {
        padding: 0 1rem;
    }
    
    .why-free-container {
        padding: 0 1rem;
    }

    /* Data Flow Grid - Mobile Fix */
    .glass-container div[style*="grid-template-columns: repeat(3, 1fr)"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Open Source Cryptography Section - Mobile Fix */
    .cta-content div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}