/* ============================================
   BRYNTEL TECHNOLOGIES - MASTER STYLESHEET
   Version: 1.0
   Last Updated: January 2026
   ============================================ */

/* ----------------------------------------
   CSS RESET & BASE
   ---------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------
   CSS VARIABLES (Design Tokens)
   ---------------------------------------- */
:root {
    /* Background Colors */
    --bg-primary: #fdfbf7;
    --bg-secondary: #f7f4ed;
    --bg-tertiary: #efebe3;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #5a5a5a;
    
    /* Accent Colors - Terracotta */
    --accent: #c45d3a;
    --accent-light: #d46a47;
    --accent-dark: #9e4a2f;
    --accent-glow: rgba(196, 93, 58, 0.1);
    
    /* Borders */
    --border: #e5e0d5;
    --border-light: #d4cfc4;
    
    /* Utility Colors */
    --success: #2e9e6b;
    --white: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --drop-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    
    /* Typography - System Font Stacks (no external dependencies) */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --radius-full: 100px;
}

/* ----------------------------------------
   BASE STYLES
   ---------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 2px Drop Shadow - Text */
.text-shadow {
    text-shadow: var(--drop-shadow);
}

/* 2px Drop Shadow - Buttons/Elements */
.btn-shadow {
    box-shadow: var(--drop-shadow);
}

.btn-shadow:hover {
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

/* Subtle background texture */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 0%, var(--accent-glow), transparent),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(158, 74, 47, 0.04), transparent);
    pointer-events: none;
    z-index: -1;
}

/* ----------------------------------------
   NAVIGATION
   ---------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition-med);
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.nav.scrolled {
    background-color: var(--bg-primary);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    display: block;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-med);
}

/* Mobile nav toggle animation */
.nav-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.nav-open {
        display: flex;
    }
    
    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

/* ----------------------------------------
   SECTION LABELS & TITLES
   ---------------------------------------- */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #9e4a2f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 700px;
    color: var(--text-primary);
}

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

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

/* Stats bar */
.stats-bar {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-family: var(--font-mono);
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ----------------------------------------
   PROOF / CASE STUDY SECTION
   ---------------------------------------- */
.proof {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.proof::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}

.proof-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.proof-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.proof-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.7;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    margin-top: 12px;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: border-color var(--transition-fast);
}

.proof-link:hover {
    border-color: var(--white);
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.proof-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
}

.proof-stat-value {
    font-size: 2.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.proof-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ----------------------------------------
   WATERMARK
   ---------------------------------------- */
.watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.watermark svg {
    width: 100%;
    height: 100%;
}

/* Ensure container content sits above watermark */
.philosophy .container,
.credentials .container,
.hero .container,
.cta-section .cta-content {
    position: relative;
    z-index: 2;
}

/* ----------------------------------------
   PHILOSOPHY SECTION
   ---------------------------------------- */
.philosophy {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.philosophy-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent);
    padding-left: 24px;
    margin: 48px 0;
    max-width: 600px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.philosophy-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.philosophy-card-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.philosophy-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.philosophy-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.philosophy-closing {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

/* ----------------------------------------
   SERVICES SECTION
   ---------------------------------------- */
.services {
    padding: var(--section-padding) 0;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 24px;
}

.services-header p {
    color: var(--text-secondary);
    max-width: 450px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.service-card h3 .icon {
    color: var(--accent);
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ----------------------------------------
   CREDENTIALS SECTION
   ---------------------------------------- */
.credentials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.credentials-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-top: 16px;
}

.credentials-text {
    max-width: 700px;
    text-align: center;
}

.credentials-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.credentials-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    display: inline-block;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    padding-left: 32px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.timeline-company {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ----------------------------------------
   CTA SECTION
   ---------------------------------------- */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

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

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

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

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ----------------------------------------
   PAGE-SPECIFIC: INTERIOR PAGES
   ---------------------------------------- */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.page-content {
    padding: 80px 0;
}

/* ----------------------------------------
   CONTACT PAGE
   ---------------------------------------- */
.contact-page {
    padding: 160px 0 var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact-page .container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 60px;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.contact-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.contact-card-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-card-content a:hover {
    color: var(--accent-light);
}

.contact-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.form-error.visible {
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Honeypot - hide from humans */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
    cursor: pointer;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 8px;
}

/* ----------------------------------------
   THANK YOU PAGE
   ---------------------------------------- */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.thank-you-page .container {
    position: relative;
    z-index: 2;
}

.thank-you-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent);
}

.thank-you-content h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.thank-you-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.thank-you-content .btn {
    display: inline-flex;
}

/* ----------------------------------------
   PORTFOLIO PAGE
   ---------------------------------------- */
.portfolio-header {
    padding: 160px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.portfolio-header .container {
    position: relative;
    z-index: 2;
}

.portfolio-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.portfolio-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 500px;
    line-height: 1.7;
}

.portfolio-grid-section {
    padding: 0 0 var(--section-padding);
    background: var(--bg-primary);
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item-reverse {
    direction: rtl;
}

.portfolio-item-reverse > * {
    direction: ltr;
}

/* Watermark positioning for portfolio items - behind text content */
.watermark.watermark-item {
    width: 500px;
    height: 500px;
    top: 50%;
    left: unset;
    right: 0;
    transform: translateY(-50%);
}

.portfolio-item-reverse .watermark.watermark-item {
    right: unset;
    left: 0;
}

.portfolio-item-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 2;
}

.portfolio-item-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--transition-med);
}

.portfolio-item-image:hover img {
    transform: scale(1.02);
}

.portfolio-item-content {
    position: relative;
    z-index: 2;
}

.portfolio-item-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-item-type {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.portfolio-item-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.portfolio-item-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.portfolio-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.portfolio-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------
   RESUME PAGE
   ---------------------------------------- */
.resume-header {
    padding: 160px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.resume-header .container {
    position: relative;
    z-index: 2;
}

.resume-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.resume-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.resume-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.resume-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resume-stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent);
}

.resume-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Skills Section */
.resume-skills {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.skill-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.skill-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-category li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 16px;
    position: relative;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Experience Timeline */
.resume-experience {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.experience-timeline {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.experience-item:first-child {
    padding-top: 0;
}

.experience-item:last-child {
    border-bottom: none;
}

/* Watermark for experience items */
.watermark.watermark-exp {
    width: 400px;
    height: 400px;
    top: 50%;
    left: unset;
    right: -5%;
    transform: translateY(-50%);
}

.experience-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.date-range {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.date-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.experience-content {
    position: relative;
    z-index: 2;
}

.experience-header {
    margin-bottom: 16px;
}

.experience-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.experience-header .company {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.experience-header .location {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.experience-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.experience-content p:last-child {
    margin-bottom: 0;
}

/* Career Progression (HSN) */
.career-progression {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.career-progression h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.progression-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prog-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.prog-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ----------------------------------------
   PROJECT SURVEY PAGE
   ---------------------------------------- */
.survey-header {
    padding: 160px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.survey-header .container {
    position: relative;
    z-index: 2;
}

.survey-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.survey-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    line-height: 1.7;
}

.survey-content {
    padding: 0 0 var(--section-padding);
    background: var(--bg-primary);
}

/* Accordion using native details/summary */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-item:hover {
    border-color: var(--accent);
}

.accordion-item[open] {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 32px;
}

.accordion-title {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-icon {
    color: var(--text-muted);
    transition: transform var(--transition-fast);
    display: flex;
    align-items: center;
}

.accordion-item[open] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 28px 28px 80px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.accordion-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.accordion-content h4:first-child {
    margin-top: 0;
}

.accordion-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.accordion-content li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.accordion-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.accordion-content p {
    margin-bottom: 12px;
}

.accordion-note {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.accordion-note h4 {
    margin-top: 0;
}

/* Legal examples */
.legal-example {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.legal-example h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

.legal-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ----------------------------------------
   POLICY PAGE
   ---------------------------------------- */
.policy-header,
.privacy-header {
    padding: 160px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.policy-header .container,
.privacy-header .container {
    position: relative;
    z-index: 2;
}

.policy-title,
.privacy-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.policy-intro,
.privacy-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
}

/* Rates Highlight */
.rates-highlight {
    padding: 60px 0 var(--section-padding);
    background: var(--bg-primary);
}

.rates-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.rate-card-alt {
    background: var(--bg-secondary);
}

.rate-value {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent);
    line-height: 1;
}

.rate-unit {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.rate-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.rate-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Policy Content */
.policy-content {
    padding: 0 0 var(--section-padding);
    background: var(--bg-primary);
}

.policy-section {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.policy-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.policy-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-text p:last-child {
    margin-bottom: 0;
}

.policy-callout {
    margin-top: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.policy-callout p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   PRIVACY PAGE
   ---------------------------------------- */
.privacy-content {
    padding: 0 0 var(--section-padding);
    background: var(--bg-primary);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.privacy-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.privacy-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.privacy-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.privacy-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-item p:last-child {
    margin-bottom: 0;
}

.privacy-item a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-item a:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   E-COMMERCE PAGE ADDITIONS
   ---------------------------------------- */
.cart-type {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.cart-type:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cart-type h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-examples {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pros, .cons {
    padding: 20px;
    border-radius: var(--radius-md);
}

.pros {
    background: rgba(46, 158, 107, 0.08);
    border: 1px solid rgba(46, 158, 107, 0.2);
}

.cons {
    background: rgba(196, 93, 58, 0.08);
    border: 1px solid rgba(196, 93, 58, 0.2);
}

.pros h5, .cons h5 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.pros h5 {
    color: var(--success);
}

.cons h5 {
    color: var(--accent);
}

.pros ul, .cons ul {
    margin-bottom: 0;
}

.pros li::before {
    content: '+';
    color: var(--success);
}

.cons li::before {
    content: '−';
    color: var(--accent);
}

/* ----------------------------------------
   RESPONSIVE BREAKPOINTS
   ---------------------------------------- */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .progression-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .proof-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-item,
    .portfolio-item-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .experience-date {
        flex-direction: row;
        gap: 16px;
        align-items: baseline;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat {
        text-align: center;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

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

    .proof-stats {
        grid-template-columns: 1fr 1fr;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .progression-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 20px;
        gap: 12px;
    }
    
    .accordion-content {
        padding: 0 20px 20px 20px;
    }
    
    .accordion-number {
        min-width: 28px;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    .policy-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .policy-icon {
        width: 40px;
        height: 40px;
    }
    
    .rates-grid {
        flex-direction: column;
    }
    
    .rate-card {
        padding: 24px;
    }
}

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

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .proof-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form .btn {
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .portfolio-item-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .portfolio-stat {
        min-width: 80px;
    }
}
