/* ============================================
   TrendAI Forward - Styles
   Colors & design inspired by trendmicro.com
   ============================================ */

:root {
    --red: #d71920;
    --red-dark: #b5161c;
    --red-light: #ff2d35;
    --black: #000000;
    --dark: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #414042;
    --gray: #808285;
    --light-gray: #c0c0c0;
    --off-white: #f5f5f5;
    --white: #ffffff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 10px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

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

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(215, 25, 32, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(215, 25, 32, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(215, 25, 32, 0.15);
    border: 1px solid rgba(215, 25, 32, 0.4);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--red-light);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.hero-accent {
    display: block;
    color: var(--red);
    font-style: italic;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: var(--font);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(215, 25, 32, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

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

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

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

.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 18px;
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .section-lead {
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Threat Grid (Why Now) ---- */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.threat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.threat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(215, 25, 32, 0.3);
    transform: translateY(-2px);
}

.threat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215, 25, 32, 0.12);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--red);
}

.threat-icon svg {
    width: 24px;
    height: 24px;
}

.threat-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.threat-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
}

/* ---- Program Section ---- */
.program-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.program-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.program-lead {
    font-size: 18px;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.program-callout {
    background: var(--off-white);
    border-left: 4px solid var(--red);
    padding: 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.program-callout p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--medium-gray);
}

.program-callout p + p {
    margin-top: 12px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-marker {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 6px;
}

.feature h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ---- Vision One Grid ---- */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.vision-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}

.vision-card:hover {
    border-color: rgba(215, 25, 32, 0.4);
    background: rgba(215, 25, 32, 0.06);
}

.vision-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vision-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.integration-callout {
    background: rgba(215, 25, 32, 0.08);
    border: 1px solid rgba(215, 25, 32, 0.2);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.integration-callout h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.integration-callout p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Benefits Grid (What You Get) ---- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 36px;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.benefit-card:hover {
    border-color: var(--red);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.benefit-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ---- Steps (How It Works) ---- */
.steps {
    max-width: 640px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.step-connector {
    width: 2px;
    height: 32px;
    background: rgba(215, 25, 32, 0.3);
    margin-left: 23px;
}

/* ---- Existing Customers ---- */
.customer-callout {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 56px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.customer-callout h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.customer-callout p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.customer-highlight {
    color: var(--red) !important;
    font-weight: 600;
    font-size: 18px !important;
    margin-bottom: 32px !important;
}

/* ---- FAQ ---- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--red);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---- Application Form ---- */
.application-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
}

.form-disclaimer {
    font-size: 13px;
    color: var(--gray);
    margin-top: 12px;
}

.form-success {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #22c55e;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.form-success h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        text-align: center;
    }

    .hero-content {
        padding: 48px 24px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .program-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .customer-callout {
        padding: 32px 24px;
    }

    .section {
        padding: 72px 0;
    }
}

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
