/* ========================================
   CB CONSULTING GROUP - STYLES
   Exact match to digitalpeople.co
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f8f8;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f8f8f8;
    padding: 20px 40px;
}

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

.logo {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
}

.logo-bold {
    font-weight: 700;
}

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

.nav-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
}

.clock-time {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.clock-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
    font-weight: 500;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.cta-circle {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover .cta-circle {
    transform: scale(1.05);
    background: #1d4ed8;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #f8f8f8;
    padding: 20px 40px;
    border-top: 1px solid #e5e5e5;
    z-index: 999;
}

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

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

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

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: #666;
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 400;
}

.scroll-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.scroll-arrow:hover {
    transform: translateY(5px);
}

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

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Section Divider */
.section-divider {
    padding: 0;
}

.section-divider hr {
    border: none;
    border-top: 1px solid #e5e5e5;
}

/* ========================================
   BENEFITS GRID
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.benefit-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   STORY SECTIONS
   ======================================== */
.story-section {
    padding: 60px 0;
}

.story-content {
    max-width: 900px;
}

.story-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.story-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-stat {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 500;
}

.story-highlight {
    font-size: 20px;
    color: #2563eb;
    font-weight: 600;
}

/* Cost Highlight */
.cost-highlight {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.cost-amount {
    display: block;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.cost-label {
    display: block;
    font-size: 20px;
    color: #666;
    font-weight: 500;
}

.story-timeline {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.time-bold {
    font-weight: 700;
    color: #1a1a1a;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.service-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   HOW IT WORKS / STEPS
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    padding: 0;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    padding: 16px 32px;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: white;
}

.cta-button:hover {
    background: #1a1a1a;
    color: white;
}

.cta-button .cta-circle {
    width: 32px;
    height: 32px;
}

.cta-button:hover .cta-circle {
    background: white;
    color: #1a1a1a;
}

.cta-button:hover .cta-circle svg {
    stroke: #1a1a1a;
}

.cta-email {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    color: #666;
    letter-spacing: 1px;
}

.cta-email:hover {
    color: #2563eb;
}

/* ========================================
   GET STARTED PAGE
   ======================================== */
.get-started-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: #f8f8f8;
}

.get-started-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.get-started-content {
    padding-top: 40px;
}

.get-started-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.get-started-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

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

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.feature-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Form Card */
.form-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
}

.form-card .form-group {
    margin-bottom: 20px;
}

.form-card .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.form-card .form-input,
.form-card .form-textarea,
.form-card .form-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card .form-input:focus,
.form-card .form-textarea:focus,
.form-card .form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-card .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-card .form-textarea::placeholder {
    color: #999;
}

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

.submit-btn-full {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
    margin-top: 10px;
}

.submit-btn-full:hover {
    background: #1d4ed8;
}

.form-footer {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 20px;
}

/* Old form page styles - keep for compatibility */
.form-page {
    min-height: 100vh;
    padding: 120px 0 80px;
}

.form-header {
    margin-bottom: 50px;
}

.form-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 500px;
}

.contact-form {
    max-width: 600px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 16px 32px;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.submit-btn svg {
    transition: transform 0.2s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    display: none;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .benefits-grid,
    .services-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .get-started-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .get-started-content {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .navbar {
        padding: 16px 24px;
    }
    
    .nav-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-number {
        font-size: 48px;
    }
    
    .story-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .form-card .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .benefit-card,
    .service-card {
        padding: 24px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }
}