:root {
    --bg-color: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #888888;
    --border-color: #E5E5E5;
    --accent-gold: #c4a052;
    /* Gold Accent */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --container-max: 900px;
    /* Reduced for reading comfort */
    --spacing-section: 120px;
    --spacing-element: 2rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    /* Standard base size */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 500;
    /* Lighter headings */
    line-height: 1.2;
}

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

a:hover {
    color: var(--text-tertiary);
}

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

/* Header */
header {
    padding: 40px 0;
    border-bottom: 1px solid transparent;
    /* Keep layout stable */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    height: 40px;
    /* Adjust as needed */
    width: auto;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

nav a.active {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
}

/* Typography Scale */
h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Sections */
section {
    padding: var(--spacing-section) 0;
}

.hero-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-hero {
    padding-top: 160px;
    padding-bottom: 160px;
    background-image: url('resources/banner_clevercraft.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #FFFFFF;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 0;
}

.home-hero .hero-content {
    position: relative;
    z-index: 1;
}

.home-hero h1,
.home-hero .subtitle,
.home-hero p {
    color: #FFFFFF;
}

.home-hero .btn-primary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.home-hero .btn-primary:hover {
    background: #FFFFFF;
    color: var(--text-primary);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 12px 32px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 1rem;
    margin: 0;
}

/* List Layouts (Cases, Expertise) */
.list-item {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.list-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.list-item h3 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .spacing-section {
        padding: 80px 0;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

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

.captcha-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.captcha-input {
    width: 60px;
    text-align: center;
}

.success-message {
    padding: 1rem;
    background: #f0fff4;
    color: #15803d;
    border: 1px solid #dcfce7;
    margin-top: 1rem;
    display: none;
}

.error-message {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

/* Milestones Table */
.milestones-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.milestones-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--text-primary);
    font-weight: 500;
    color: var(--text-primary);
}

.milestones-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

.milestones-table tr:last-child td {
    border-bottom: none;
}

.milestones-table td:first-child {
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    width: 60px;
}

/* About Page Specifics */
.section-title {
    font-size: 1.5rem;
    /* Matches global h3 */
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    font-weight: 500;
}

.learning-item {
    margin-bottom: 1.5rem;
}

.learning-context {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    /* Match body */
}

.learning-lesson {
    color: var(--text-secondary);
    font-size: 1rem;
    /* Match body */
    line-height: 1.6;
}

/* Update Table to match body */
.milestones-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 1rem;
    /* Was 0.95rem */
}

/* Customer Logos Carousel */
.customers-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.customers-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.customer-logo {
    flex: 0 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.customer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.customer-logo img {
    max-height: 100%;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .customers-track {
        gap: 2rem;
    }

    .customer-logo {
        height: 50px;
    }

    .customer-logo img {
        max-width: 140px;
    }
}

/* ========================================
   STRATEGY PAGE - EXACT BASE44 DESIGN
   ======================================== */

/* Strategy Page Body */
.strategy-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Header */
.strategy-header {
    background-color: #FFFFFF;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.strategy-header .brand img {
    height: 32px;
}

/* Hero Section */
.strategy-hero-section {
    padding: 80px 24px 64px;
    background-color: #FFFFFF;
}

.strategy-hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 72px;
    letter-spacing: -1.8px;
    color: #0A0A0A;
    margin: 0 0 32px 0;
    max-width: 768px;
    text-align: left;
}

.strategy-hero-title .gold-accent {
    color: #C4A052;
    display: block;
}

.strategy-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
    color: rgba(10, 10, 10, 0.7);
    max-width: 672px;
    margin: 0 0 40px 0;
    text-align: left;
}

.strategy-hero-cta-wrapper {
    display: flex;
    justify-content: flex-start;
}

.strategy-btn-primary {
    background-color: #C4A052;
    color: #FFFFFF;
    padding: 24px 32px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.strategy-btn-primary:hover {
    background-color: #B39048;
    transform: translateY(-2px);
}

/* Dark Section (Reality Check) */
.strategy-dark-section {
    background-color: #0A0A0A;
    padding: 96px 24px;
    margin-bottom: 0;
}

.strategy-section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 64px 0;
}

.strategy-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.strategy-reality-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.strategy-reality-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 16px 0;
}

.strategy-reality-card p {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Light Section (Approach) */
.strategy-light-section {
    background-color: #FFFFFF;
    padding: 96px 24px;
}

.strategy-approach-container {
    max-width: 800px;
    text-align: center;
}

.strategy-section-title-dark {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #0A0A0A;
    margin: 0 0 32px 0;
}

.strategy-approach-text {
    font-size: 18px;
    line-height: 28px;
    color: rgba(10, 10, 10, 0.7);
}

.strategy-approach-text p {
    margin: 0;
}

/* Services Section */
.strategy-services-section {
    background-color: #FAFAFA;
    padding: 96px 24px;
}

.strategy-service-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.strategy-service-card:hover {
    border-color: #C4A052;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.strategy-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 12px 0;
}

.strategy-service-card p {
    font-size: 16px;
    line-height: 24px;
    color: rgba(10, 10, 10, 0.6);
    margin: 0;
}

/* Conclusion Section */
.strategy-conclusion-container {
    max-width: 800px;
    text-align: center;
}

.strategy-conclusion-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 24px 0;
}

.strategy-conclusion-text {
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
}

/* Footer */
.strategy-footer {
    background-color: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
}

.strategy-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.strategy-footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strategy-footer-icon {
    background-color: #FFFFFF;
    color: #0A0A0A;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.strategy-footer-company {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.strategy-footer-slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .strategy-grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .strategy-hero-title {
        font-size: 56px;
        line-height: 60px;
        letter-spacing: -1.4px;
    }

    .strategy-section-title {
        font-size: 36px;
        letter-spacing: -0.9px;
    }
}

@media (max-width: 768px) {
    .strategy-hero-title {
        font-size: 42px;
        line-height: 48px;
        letter-spacing: -1px;
    }

    .strategy-hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    .strategy-section-title,
    .strategy-section-title-dark {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .strategy-dark-section,
    .strategy-light-section,
    .strategy-services-section {
        padding: 64px 24px;
    }

    .strategy-footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .strategy-footer-slogan {
        text-align: left;
    }
}