/* --- DESIGN TOKENS --- */
:root {
    --bg-color: #F5F5F7;
    --accent-green: #1B4332;
    --accent-green-hover: #2d5a46;
    --text-black: #1D1D1F;
    --text-gray: #86868B;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 24px;
    --input-bg: #FBFBFD;
    --placeholder-bg: #E5E5E7;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-black);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
}

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    z-index: 1000;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-black);
    text-decoration: none;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 8px;
    line-height: 1.1;
}

.hero h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 48px;
}

.cta-pill {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-pill:hover {
    transform: scale(1.02);
    background-color: var(--accent-green-hover);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.15);
}

.micro-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 320px;
    line-height: 1.4;
}

/* --- WHY SECTION --- */
.why-section {
    text-align: center;
    max-width: 800px;
}

.why-section h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.why-section p {
    font-size: 1.4rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* --- BENTO GRID --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--placeholder-bg);
    object-fit: cover;
}

.card-body {
    padding: 32px;
    flex-grow: 1;
}

.card-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card.wide {
    grid-column: span 2;
}

/* --- ABOUT SECTION --- */
.about-section {
    margin-top: 40px;
}

.about-container {
    background: var(--white);
    border-radius: 48px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.profile-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--placeholder-bg);
    flex-shrink: 0;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.6;
}

/* --- FORM SECTION --- */
.lead-gen {
    background-color: var(--white);
    border-radius: 48px;
    padding: 80px 60px;
    margin-top: 40px;
    margin-bottom: 120px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.lead-gen h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    letter-spacing: -0.03em;
}

.form-group {
    margin-bottom: 40px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid #E5E5E7;
    background: var(--input-bg);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
    color: var(--text-black);
}

input:focus {
    border-color: var(--accent-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.08);
}

.slider-container {
    padding: 15px 0;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #E5E5E7;
    border-radius: 10px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent-green);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-top: 1px solid #E5E5E7;
}

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

    .card.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 16px 20px;
    }

    section {
        padding: 60px 20px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .lead-gen {
        padding: 60px 30px;
        border-radius: 32px;
    }

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

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

    .hero h2 {
        font-size: 1.4rem;
    }

    .why-section h2 {
        font-size: 2.2rem;
    }

    .lead-gen h2 {
        font-size: 2.2rem;
    }
}

.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-black);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 500;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}