/* ============================================
   Umar Yusof — Personal Website
   Clean, professional, conversion-focused
   ============================================ */

:root {
    --color-bg: #FAFAF8;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-secondary: #5A5A5A;
    --color-text-muted: #8A8A8A;
    --color-accent: #1B4D3E;
    --color-accent-light: #E8F0ED;
    --color-accent-hover: #153D31;
    --color-border: #E8E8E4;
    --color-border-light: #F0F0EC;
    --color-warm: #F5F0E8;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1140px;
    --section-padding: 100px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent-light);
}
.btn-nav {
    padding: 10px 22px;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: var(--radius);
}
.btn-nav:hover {
    background: var(--color-accent-hover);
}
.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition);
}
.nav.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover {
    color: var(--color-text);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Hero */
.hero {
    padding: 160px 0 var(--section-padding);
    background: linear-gradient(170deg, var(--color-bg) 0%, var(--color-warm) 100%);
}
.hero-container {
    max-width: 800px;
}
.hero-content {
    text-align: center;
}
.hero-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}
.hero h1 {
    margin-bottom: 24px;
    color: var(--color-text);
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.proof-item { text-align: center; }
.proof-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
}
.proof-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Section Base */
.section {
    padding: var(--section-padding) 0;
}

/* About */
.about {
    background: var(--color-surface);
}
.about-text h2 {
    margin-bottom: 24px;
}
.about-text > p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    max-width: 680px;
    font-size: 1.02rem;
}
.about-differentiators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
.diff-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
}
.diff-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--color-accent-light);
    color: var(--color-accent);
}
.diff-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.diff-item p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* S.H.I.F.T. Method */
.method {
    background: var(--color-accent);
    color: #fff;
}
.method .section-tag {
    color: rgba(255,255,255,0.6);
}
.method h2 {
    color: #fff;
}
.method-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.method-intro {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-top: 16px;
}
.shift-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.shift-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: background var(--transition);
}
.shift-card:hover {
    background: rgba(255,255,255,0.12);
}
.shift-letter {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
}
.shift-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.shift-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Services */
.services {
    background: var(--color-bg);
}
.services h2 {
    margin-bottom: 48px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--color-accent-light);
    color: var(--color-accent);
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.service-card p {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Profiles / Who I Help */
.profiles {
    background: var(--color-surface);
}
.profiles h2 {
    margin-bottom: 48px;
}
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.profile-card {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
}
.profile-header {
    margin-bottom: 16px;
}
.profile-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 6px 12px;
    border-radius: 20px;
}
.profile-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}
.profile-pains {
    margin-bottom: 24px;
    flex-grow: 1;
}
.profile-pains li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}
.profile-pains li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-light);
    border: 2px solid var(--color-accent);
}
.profile-quote {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-accent);
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(170deg, var(--color-warm) 0%, var(--color-bg) 100%);
    text-align: center;
    padding: 120px 0;
}
.cta-container {
    max-width: 600px;
}
.cta-section h2 {
    margin-bottom: 16px;
}
.cta-section > .container > p {
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    font-size: 1.05rem;
}
.cta-note {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.cta-note a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Disclaimer */
.disclaimer {
    padding: 32px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-light);
}
.disclaimer-text {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 800px;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}
.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}
.footer-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.footer-right {
    display: flex;
    gap: 24px;
}
.footer-right a {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.footer-right a:hover {
    color: var(--color-accent);
}

/* ==================
   Responsive
   ================== */

@media (max-width: 1024px) {
    .shift-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .shift-grid .shift-card:nth-child(4),
    .shift-grid .shift-card:nth-child(5) {
        grid-column: span 1;
    }
}

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

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links .btn-nav {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero */
    .hero {
        padding: 120px 0 72px;
    }
    .hero-proof {
        flex-direction: column;
        gap: 20px;
    }
    .proof-divider {
        width: 40px;
        height: 1px;
    }

    /* Grids to single column */
    .about-differentiators,
    .services-grid,
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    .shift-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer stack */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .shift-grid {
        grid-template-columns: 1fr;
    }
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}
