/* ============================================
   CANAAN CAPITAL — STYLES
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-light: #122240;
    --navy-mid: #1a3050;
    --gold: #c8913a;
    --gold-light: #d4a854;
    --gold-dark: #b07e2f;
    --orange: #e8722a;
    --orange-hover: #d4631f;
    --white: #ffffff;
    --off-white: #f8f9fb;
    --gray-50: #f4f5f7;
    --gray-100: #e8eaed;
    --gray-200: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #6b7280;
    --gray-800: #374151;
    --text: #1a1a2e;
    --text-light: #555770;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --transition: 0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-pill);
    text-align: center;
    line-height: 1;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(232, 114, 42, 0.3);
}
.btn-primary:hover {
    background: var(--orange-hover);
    box-shadow: 0 4px 16px rgba(232, 114, 42, 0.4);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-md { padding: 14px 32px; font-size: 15px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-full { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    height: 72px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    border-radius: 8px;
}
.logo-mark.light {
    background: var(--gold);
    color: var(--navy);
}
.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
}
.logo-text.light {
    color: var(--white);
}
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--navy);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}
.header-phone svg { color: var(--orange); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 145, 58, 0.1);
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
}
.hero-title .highlight {
    color: var(--orange);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
}
.stat-label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

/* FORM CARD */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}
.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.form-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-group input::placeholder {
    color: var(--gray-400);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 114, 42, 0.12);
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-disclaimer {
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
    margin-top: 12px;
}
.form-disclaimer a {
    color: var(--orange);
    text-decoration: underline;
}
.intake-form .btn {
    margin-top: 8px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); }
.section-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    color: var(--navy);
    margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
    font-size: 17px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle.light { color: var(--gray-400); }

/* HOW IT WORKS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.step-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--orange);
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
}
.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.step-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* PRODUCTS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1.5px solid var(--gray-100);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.product-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.product-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}
.product-features {
    margin-bottom: 24px;
    flex-grow: 1;
}
.product-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-features li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
}

/* WHY CANAAN / BENEFITS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.benefit {
    text-align: center;
    padding: 32px 20px;
}
.benefit-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.benefit h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.benefit p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* INDUSTRIES */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.industry-tag {
    padding: 12px 24px;
    background: var(--off-white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
}
.industry-tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* CTA */
.cta-center {
    text-align: center;
}
.cta-subtext {
    margin-top: 16px;
    font-size: 15px;
    color: var(--gray-400);
}
.cta-subtext a {
    color: var(--gold-light);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    padding: 60px 0 32px;
    border-top: 1px solid var(--navy-mid);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}
.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--gold-light);
}
.footer-bottom {
    border-top: 1px solid var(--navy-mid);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}
.footer-disclaimer {
    margin-top: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
   INNER PAGES — SHARED
   ============================================ */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
}
.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ABOUT PAGE */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}
.about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.value-card {
    padding: 28px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}
.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* APPLY PAGE — FULL FORM */
.apply-section {
    padding: 80px 0;
}
.apply-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}
.apply-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}
.apply-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.apply-form-card > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
}
.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
    margin-top: 28px;
}
.form-section-title:first-of-type {
    margin-top: 0;
}
.apply-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}
.apply-sidebar ul {
    margin-bottom: 32px;
}
.apply-sidebar li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--gray-50);
}
.apply-sidebar li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.sidebar-box {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}
.sidebar-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.sidebar-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* SOLUTIONS PAGE */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-100);
}
.solution-detail:last-child {
    border-bottom: none;
}
.solution-detail:nth-child(even) {
    direction: rtl;
}
.solution-detail:nth-child(even) > * {
    direction: ltr;
}
.solution-detail h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}
.solution-detail p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.solution-detail .features-list li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}
.solution-detail .features-list li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
}
.solution-info-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.solution-info-card .info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.solution-info-card .info-row:last-child {
    border-bottom: none;
}
.info-label {
    font-size: 14px;
    color: var(--gray-600);
}
.info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-content { grid-template-columns: 1fr; }
    .apply-grid { grid-template-columns: 1fr; }
    .solution-detail { grid-template-columns: 1fr; }
    .solution-detail:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .header-phone { display: none; }
    .header-right .btn { display: none; }
    .menu-toggle { display: flex; }

    /* Mobile nav */
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-100);
        gap: 0;
    }
    .nav.open .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-50);
        font-size: 16px;
    }
    .nav.open .nav-link.active::after { display: none; }

    .hero { padding: 100px 0 48px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 22px; }

    .form-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }

    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 16px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .page-hero { padding: 100px 0 48px; }
    .page-hero h1 { font-size: 32px; }

    .apply-form-card { padding: 24px; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .btn-lg { padding: 16px 32px; font-size: 16px; }
}
