/* ===== VARIABLES ===== */
:root {
    --primary-900: #0c1929;
    --primary-800: #1a365d;
    --primary-700: #1e4976;
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --primary-400: #60a5fa;
    --primary-300: #93c5fd;
    --primary-200: #bfdbfe;
    --primary-100: #dbeafe;
    --primary-50: #eff6ff;
    
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --header-height: 100px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-icon {
    font-size: 28px;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: white;
}

.nav-cta {
    padding: 10px 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-400);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: white;
}

.section-dark {
    background: var(--primary-900);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
}

.section-dark .section-subtitle {
    color: var(--gray-400);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-dark .section-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-400);
}

.section-title-left {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: left;
}

.section-dark .section-title-left {
    color: white;
}

.section-title-left.light {
    color: white;
}

.section-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.section-dark .section-text {
    color: var(--gray-400);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== TWO COLUMNS ===== */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-cols.reverse .col-content {
    order: 2;
}

.two-cols.reverse .col-visual {
    order: 1;
}

.benefits-list {
    margin-bottom: 32px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--gray-700);
}

.section-dark .benefits-list li {
    color: var(--gray-300);
}

.benefit-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.section-dark .benefit-icon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-400);
}

/* ===== VISUAL CARDS ===== */
.visual-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.visual-icon {
    font-size: 20px;
}

.visual-content {
    padding: 24px;
}

.risk-meter {
    margin-bottom: 20px;
}

.risk-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.risk-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--warning));
    border-radius: 4px;
}

.risk-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--warning);
    margin-top: 8px;
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 13px;
}

.v-stat strong {
    color: var(--primary-600);
    font-weight: 700;
}

.scan-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary-50);
    border-radius: 8px;
    margin-bottom: 20px;
}

.scan-icon {
    font-size: 24px;
}

.scan-info {
    display: flex;
    flex-direction: column;
}

.scan-info strong {
    font-size: 14px;
    color: var(--gray-900);
}

.scan-info span {
    font-size: 12px;
    color: var(--gray-500);
}

.vulns-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.vuln-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.vuln-item span {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-600);
}

.vuln-item strong {
    font-size: 20px;
}

.vuln-item.critical {
    background: #fef2f2;
    color: #dc2626;
}

.vuln-item.high {
    background: #fff7ed;
    color: #ea580c;
}

.vuln-item.medium {
    background: #fefce8;
    color: #ca8a04;
}

.vuln-item.low {
    background: #f0fdf4;
    color: #16a34a;
}

.alert-card .visual-header {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.legacy-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-icon {
    font-size: 28px;
}

.alert-text strong {
    display: block;
    font-size: 14px;
    color: #dc2626;
}

.alert-text span {
    font-size: 12px;
    color: var(--gray-600);
}

.legacy-risks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 13px;
}

.risk-indicator {
    width: 60px;
    height: 8px;
    border-radius: 4px;
}

.risk-indicator.high {
    background: #ef4444;
}

.risk-indicator.medium {
    background: #f59e0b;
}

.risk-indicator.low {
    background: #10b981;
}

/* ===== STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== CONTACT ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    color: var(--gray-300);
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 15px;
}

.contact-icon {
    font-size: 20px;
}

.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
}

.form-disclaimer a {
    color: var(--primary-600);
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 40px;
}

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

.form-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-600);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 24px;
    color: var(--gray-400);
}

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

.footer-brand p {
    margin-top: 12px;
    font-size: 14px;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary-900);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-cols.reverse .col-content,
    .two-cols.reverse .col-visual {
        order: unset;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .vulns-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== LOGO IMAGE ===== */
.logo-img {
    height: 40px;
    width: auto;
}

.footer .logo-img {
    height: 36px;
}

/* Fix logo size */
.nav-logo .logo-img {
    height: 84px !important;
    width: auto !important;
    max-width: 320px !important;
}

.nav-logo {
    gap: 4px;
}

/* ===== STANDARDS SECTION ===== */
.standards-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.standard-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px 40px;
    text-align: center;
    transition: all 0.3s;
}

.standard-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.standard-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-size: 18px;
    font-weight: 800;
    border-radius: 12px;
    margin: 0 auto 16px;
}

.standard-card h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.standard-card p {
    color: var(--gray-400);
    font-size: 14px;
}

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

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-item h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-item p {
    color: var(--gray-400);
    font-size: 14px;
}

/* ===== TRANSPARENCY SECTION ===== */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.transparency-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--gray-700);
    transition: all 0.2s;
}

.transparency-item:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
}

.check-icon {
    font-size: 20px;
    flex-shrink: 0;
}
