@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Inter:wght@300;400;700;800&display=swap');

:root {
    --deep-nordic-blue: #0A0F1E;
    --nordic-light-blue: #0F172A;
    --steel-grey: #1E293B;
    --steel-blue: #334155;
    --ice-blue: #70D6FF;
    --accent-blue: #38BDF8;
    --ice-white: #F1F5F9;
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--deep-nordic-blue);
    color: var(--ice-white);
    line-height: 1.6; /* Accurate reading as requested */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* Glassmorphism utility - Nordic Minimalist */
.glass {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    box-shadow: none; /* Eliminate unnecessary shadows */
}

/* Typography */
h1, h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800; /* Extra bold for authority */
    letter-spacing: -0.04em; /* Tighter for that premium tech look */
    text-transform: uppercase;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--ice-blue);
    letter-spacing: 0.15em; /* More luxury spacing for mono */
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(to bottom right, #FFFFFF 50%, #A0AEC0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(26, 43, 60, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--pure-white);
    background: transparent;
    color: var(--pure-white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--ice-blue);
    color: var(--deep-nordic-blue);
    border-color: var(--ice-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    mask-image: linear-gradient(to left, black 60%, transparent);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
}

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

.animate {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@media (max-width: 968px) {
    .evidence-grid, .blueprint-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-background {
        width: 100%;
        opacity: 0.3;
    }
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

/* Evidence Section */
.section {
    padding: 10rem 5%;
}

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

.evidence-card {
    padding: 3rem;
    transition: var(--transition);
}

.evidence-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.evidence-card h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.evidence-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Compliance Bar */
.compliance-bar {
    background: var(--nordic-light-blue);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.compliance-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.compliance-text {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* Hardware Integration */
.hardware-section {
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.hardware-logos {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 4rem;
    opacity: 0.6;
}

.hardware-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hardware-item span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Blueprint Section */
.blueprint-section {
    position: relative;
    padding: 10rem 5%;
    background: radial-gradient(circle at 70% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
}

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

.blueprint-svg {
    opacity: 0.4;
    transition: var(--transition);
}

.blueprint-section:hover .blueprint-svg {
    opacity: 0.8;
}

.tech-specs {
    list-style: none;
    margin-top: 2rem;
}

.tech-specs li {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    border-bottom: 0.5px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
}

.tech-specs li span {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Compliance Deep Dive */
.compliance-deep-dive {
    background: #0A1118; /* Darker background as requested */
    border: 1px solid #70D6FF; /* Ice Blue border */
    padding: 4rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.deep-dive-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.compliance-deep-dive::after {
    content: "HIGH_SECURITY_ENCLAVE";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    font-family: monospace;
    color: #70D6FF;
    opacity: 0.5;
    letter-spacing: 2px;
}

@media (max-width: 968px) {
    .deep-dive-grid {
        grid-template-columns: 1fr;
    }
}

/* Verticales de Aplicación */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vertical-card {
    padding: 2.5rem;
    transition: var(--transition);
    border-radius: 4px;
}

.vertical-card:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.vertical-icon {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.vertical-card h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.vertical-card p {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .verticals-grid {
        grid-template-columns: 1fr;
    }
}

/* Pillar Icons */
.pillars-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.pillar-icon-item svg {
    margin-bottom: 0.5rem;
}

/* Section Transitions */
.section-energy {
    border-left: 2px solid var(--accent-blue) !important;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.03) 0%, transparent 100%) !important;
}

.section-banking {
    border-left: 2px solid var(--deep-nordic-blue) !important;
    background: linear-gradient(90deg, rgba(10, 15, 30, 0.4) 0%, transparent 100%) !important;
}

@media (max-width: 768px) {
    .pillars-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
}

.faq-item {
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--ice-blue); /* Lights up as requested */
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question span:first-of-type {
    flex: 1;
    font-size: 0.85rem;
    color: var(--ice-white);
}

.faq-toggle {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease; /* Transition as requested */
    background: rgba(112, 214, 255, 0.02);
}

.faq-answer p {
    padding: 2.5rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* Precision size */
    color: #e0e0e0; /* Soft white for readability */
    font-weight: 300;
    line-height: 1.65;
}

.highlight {
    color: var(--ice-blue); /* Ice Blue #70D6FF */
    font-weight: 600;
}

.faq-item.active .faq-answer {
    max-height: 800px; /* Allow for more text */
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--ice-blue);
}

.faq-item.active {
    border-color: var(--ice-blue);
}




/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--ice-blue);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
}

.close-btn:hover {
    opacity: 1;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    opacity: 0.6;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: 'Inter', sans-serif;
    border-radius: 2px;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--ice-blue);
    outline: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Pulse Effect */
@keyframes pulse-ice {
    0% { box-shadow: 0 0 0 0 rgba(112, 214, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(112, 214, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(112, 214, 255, 0); }
}

.pulse-button {
    animation: pulse-ice 2s infinite !important;
}

/* Success Scanning */
.success-screen {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ice-blue);
    box-shadow: 0 0 15px var(--ice-blue);
    animation: scan 2s linear infinite;
    display: none;
}

@keyframes scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* Footer Legal Styles */
#main-footer {
    padding: 5rem 10% 3rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 15, 30, 0.5);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-legal h4 {
    font-size: 0.7rem;
    color: var(--ice-blue);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.legal-text p {
    font-size: 12px;
    color: #888888;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.legal-text b {
    color: #aaaaaa;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.footer-links a {
    text-decoration: none;
    color: #888888;
    font-size: 11px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--ice-blue);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    width: 100%;
    margin-top: 3rem;
    padding-top: 2rem;
}
