/* ========================================
   NTD Consulting - Main Stylesheet
   Professional, premium B2B consulting site
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0D47A1;
    --primary-dark: #0a357a;
    --primary-light: #e3f2fd;
    --accent: #E65100;
    --accent-light: #fff3e0;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #777;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-warm: #faf8f5;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: all 0.25s ease;
    --container: 1140px;
    --header-height: 72px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.02em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-accent:hover {
    background: #c74600;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

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

.nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius);
}

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

.nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-cta {
    margin-left: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(160deg, var(--bg-light) 0%, var(--bg) 60%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13,71,161,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    max-width: 800px;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.15;
}

.hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.hero-trust p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.7;
}

.hero-trust strong {
    color: var(--text-secondary);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-warm {
    background: var(--bg-warm);
}

.section-header {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Problem Section */
.problem-box {
    background: white;
    border-left: 4px solid var(--accent);
    padding: 28px 32px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.problem-box p {
    font-size: 1.05rem;
    color: var(--text);
    font-style: italic;
    margin: 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-flagship {
    border: 2px solid var(--primary);
    position: relative;
}

.card-flagship::before {
    content: 'Flagship';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card .price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 16px;
}

.card .price span {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services Detail */
.service-detail {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-detail .tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 700px;
}

.service-detail h3 {
    font-size: 1.2rem;
    margin: 28px 0 14px;
    color: var(--text);
}

.service-detail ul {
    margin: 16px 0;
    padding-left: 24px;
}

.service-detail ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.service-detail ul li strong {
    color: var(--text);
}

/* Checklist Style */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.checklist li::before {
    content: '\2610';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.4;
}

/* Red Flag Box */
.red-flag {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.red-flag strong {
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Highlight Box */
.highlight-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    border: 1px solid var(--border);
    padding: 14px 18px;
    text-align: left;
}

.data-table th {
    background: var(--primary);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table tr:nth-child(even) {
    background: var(--bg-light);
}

.data-table td {
    color: var(--text-secondary);
}

.data-table td strong {
    color: var(--text);
}

/* CTA Box */
.cta-box {
    background: var(--primary);
    color: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 48px 0;
}

.cta-box h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 24px;
}

.cta-box a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.cta-box a:hover {
    color: var(--accent-light);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* About Page */
.about-hero {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, var(--bg-light) 0%, var(--bg) 100%);
}

.about-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
}

.timeline-item {
    margin-bottom: 36px;
    padding-left: 28px;
    border-left: 3px solid var(--primary);
}

.timeline-item h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-item .date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

/* Lead Magnet Section */
.lead-magnet {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin: 48px 0;
}

.lead-magnet h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.lead-magnet p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}

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

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

/* Insights Page */
.article-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer h4 {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, var(--bg-light) 0%, var(--bg) 60%, var(--primary-light) 100%);
}

.page-header h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* Breadcrumb */
.breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

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

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

    .cta-box {
        padding: 32px 24px;
    }

    .lead-magnet {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

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

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

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.max-w-2 {
    max-width: 600px;
}

.max-w-3 {
    max-width: 700px;
}
