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

:root {
    --primary-color: #00f2ff;
    --secondary-color: #0066ff;
    --accent-color: #ffd700;
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c8;
    --text-muted: #6b7280;
    --border-color: #1f2937;
    --gradient-primary: linear-gradient(135deg, #00f2ff 0%, #0066ff 100%);
    --gradient-secondary: linear-gradient(135deg, #0066ff 0%, #00f2ff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 242, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 242, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 242, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 242, 255, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

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

.cta-btn-small {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn-small:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-primary {
    display: block;
    color: var(--text-primary);
}

.title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.cta-btn.primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary-color);
}

.cta-btn.large {
    padding: 16px 32px;
    font-size: 18px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.urgency-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.2) 0%, rgba(255, 100, 0, 0.2) 100%);
    border: 2px solid #ff3333;
    border-radius: 30px;
    animation: pulse 2s infinite;
}

.urgency-badge span {
    color: #ff6666;
    font-size: 16px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
}

.hero-cta-subtext {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
}

.testimonial-box {
    background: rgba(0, 242, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin: 24px 0;
    border-radius: 8px;
}

/* Quantum Threat Section */
.quantum-threat {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.threat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

.threat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.threat-card.urgent {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.threat-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.threat-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.threat-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.explanation-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.explanation-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.highlight-text {
    background: rgba(0, 242, 255, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 16px;
    margin: 24px 0;
    border-radius: 4px;
}

.approach-comparison {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.approach-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.approach-item.new {
    border-color: var(--primary-color);
    background: rgba(0, 242, 255, 0.05);
}

.approach-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.approach-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.approach-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.approach-arrow {
    font-size: 24px;
    color: var(--primary-color);
}

.visual-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.data-blocks, .scattered-blocks {
    display: flex;
    gap: 12px;
}

.block {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    animation: pulse 2s infinite;
}

.block.scattered {
    animation: scatter 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes scatter {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-20px); }
    75% { transform: translateX(20px); }
}

.scramble-animation {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-darker);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    gap: 32px;
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    align-items: center;
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

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

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.step-icon {
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
    transition: transform 0.3s ease;
}

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

.visual-box {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 242, 255, 0.1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.visual-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent);
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.download-section {
    text-align: center;
    margin-top: 48px;
}

/* Comparison Table */
.comparison {
    background: var(--bg-dark);
}

.comparison-table {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.table-header {
    background: rgba(0, 242, 255, 0.05);
    font-weight: 700;
    font-size: 16px;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-cell {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.feature-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-cell {
    color: var(--primary-color);
    font-weight: 700;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
}

.use-cases.government {
    background: var(--bg-darker);
}

.use-cases.commercial {
    background: var(--bg-dark);
}

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

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.use-case-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.use-case-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.use-case-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.use-case-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 15px;
}

.use-case-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* Accordion */
.use-cases-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    user-select: none;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accordion-icon {
    font-size: 32px;
}

.accordion-header h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.accordion-arrow {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.accordion-content p {
    padding: 0 32px 16px 80px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.accordion-content p:last-child {
    padding-bottom: 32px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 242, 255, 0.2) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Credentials */
.credentials {
    background: var(--bg-darker);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.credential-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.credential-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.credential-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.credential-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.patent-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.credential-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Form */
.contact {
    background: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 242, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 8px;
}

.file-label {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .threat-explanation {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 60px 1fr;
    }
    
    .step-visual {
        display: none;
    }
    
    .table-header, .table-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 14px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .threat-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-comparison {
        flex-direction: column;
    }
    
    .approach-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .table-header, .table-row {
        grid-template-columns: 150px 80px 80px 80px;
        font-size: 12px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}
