/* ===== New Design: Light + Indigo/Violet =====
   BG: #fafbff  Surface: #fff  Accent: #6366f1 (indigo)
   Font: Inter — clean, modern, airy
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #fafbff; color: #334155;
    line-height: 1.65; overflow-x: hidden;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(250,251,255,0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }

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

.logo { font-size: 1.2rem; font-weight: 800; color: #1e293b; }
.logo span { color: #6366f1; }

.nav-links { display: flex; gap: 2rem; }
.nav-link {
    font-size: 0.88rem; font-weight: 500; color: #64748b;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #6366f1; }

.menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.menu-btn span {
    display: block; width: 22px; height: 2px;
    background: #334155; border-radius: 2px; transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 0; text-align: center;
    background: linear-gradient(180deg, #eef2ff 0%, #fafbff 100%);
}

.hero-inner { max-width: 680px; margin: 0 auto; }

.pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #eef2ff; color: #6366f1; font-size: 0.8rem;
    font-weight: 600; padding: 6px 16px; border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem; font-weight: 900; color: #0f172a;
    line-height: 1.1; margin-bottom: 1.25rem;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.1rem; color: #64748b; max-width: 520px;
    margin: 0 auto 2rem; line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 4rem; }

/* Stats bar */
.stats-bar {
    display: flex; justify-content: center; gap: 3rem;
    padding: 2rem 0; border-top: 1px solid #e2e8f0;
}
.stat { font-size: 0.9rem; color: #64748b; }
.stat span { font-weight: 800; font-size: 1.5rem; color: #0f172a; margin-right: 6px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px; font-weight: 600;
    font-size: 0.92rem; border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-fill {
    background: #6366f1; color: #fff;
    box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}
.btn-fill:hover { box-shadow: 0 6px 20px rgba(99,102,241,0.45); }

.btn-line {
    background: #fff; color: #6366f1;
    border: 1.5px solid #c7d2fe;
}
.btn-line:hover { border-color: #6366f1; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: #f1f5f9; }

.sec-title {
    text-align: center; font-size: 2.1rem; font-weight: 800;
    color: #0f172a; margin-bottom: 0.4rem;
}
.sec-sub {
    text-align: center; color: #64748b; max-width: 500px;
    margin: 0 auto 3rem; font-size: 1rem;
}

/* ===== About ===== */
.about-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: start;
}
.about-text h3 { font-size: 1.4rem; font-weight: 700; color: #0f172a; margin-bottom: 0.75rem; }
.about-text p { color: #475569; font-size: 1rem; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 50px; font-size: 0.88rem; font-weight: 500;
    color: #334155; transition: border-color 0.2s, box-shadow 0.2s;
}
.chip:hover { border-color: #6366f1; box-shadow: 0 2px 8px rgba(99,102,241,0.12); }
.chip i { color: #6366f1; }

/* ===== Cards (Portfolio + Services) ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1.25rem;
}
.card-icon.purple { background: #eef2ff; color: #6366f1; }
.card-icon.rose { background: #fce7f3; color: #e11d48; }
.card-icon.blue { background: #e0f2fe; color: #0284c7; }

.card h3 { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; }
.card p { color: #64748b; font-size: 0.92rem; margin-bottom: 1rem; }

.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-row span {
    font-size: 0.72rem; font-weight: 600; padding: 4px 12px;
    border-radius: 50px; background: #eef2ff; color: #6366f1;
}

.card ul { list-style: none; }
.card li {
    padding: 3px 0 3px 18px; position: relative;
    color: #64748b; font-size: 0.88rem;
}
.card li::before { content: '→'; position: absolute; left: 0; color: #6366f1; }

/* ===== Contact ===== */
.contact-row {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem;
}

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }

.info-tile {
    display: flex; align-items: flex-start; gap: 14px;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 1.25rem;
}
.info-tile i { color: #6366f1; font-size: 1.1rem; margin-top: 3px; }
.info-tile strong { display: block; color: #0f172a; font-size: 0.9rem; margin-bottom: 2px; }
.info-tile a, .info-tile p { color: #64748b; font-size: 0.88rem; }
.info-tile a:hover { color: #6366f1; }

.form { display: flex; flex-direction: column; gap: 0.85rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.form input, .form textarea {
    width: 100%; padding: 13px 16px;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 10px; font-family: inherit;
    font-size: 0.92rem; color: #334155;
    transition: border-color 0.2s;
}
.form input::placeholder, .form textarea::placeholder { color: #94a3b8; }
.form input:focus, .form textarea:focus { outline: none; border-color: #6366f1; }
.form textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid #e2e8f0; padding: 3rem 0 1.5rem; background: #fff; }

.footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p { color: #64748b; font-size: 0.88rem; margin-top: 0.5rem; max-width: 280px; }

.footer-col h4 {
    font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #6366f1; margin-bottom: 0.75rem;
}
.footer-col a {
    display: block; color: #64748b; font-size: 0.88rem;
    margin-bottom: 0.4rem; transition: color 0.2s;
}
.footer-col a:hover { color: #6366f1; }
.footer-col p { color: #64748b; font-size: 0.88rem; margin-bottom: 0.4rem; }
.footer-col i { color: #6366f1; margin-right: 6px; }

.footer-bottom {
    border-top: 1px solid #e2e8f0; padding-top: 1.25rem;
    text-align: center; color: #94a3b8; font-size: 0.82rem;
}

/* ===== Policy Pages ===== */
.policy-page { padding: 7rem 0 4rem; min-height: 100vh; }
.policy-head { text-align: center; margin-bottom: 2.5rem; }
.policy-head h1 { font-size: 2.4rem; font-weight: 800; color: #0f172a; }

.policy-body {
    max-width: 740px; margin: 0 auto;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 18px; padding: 2.5rem;
}
.policy-body h2 {
    font-size: 1.2rem; font-weight: 700; color: #0f172a;
    margin: 1.75rem 0 0.6rem; padding-bottom: 0.4rem;
    border-bottom: 1px solid #f1f5f9;
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { color: #64748b; line-height: 1.75; margin-bottom: 0.6rem; font-size: 0.92rem; }
.policy-body a { color: #6366f1; }
.policy-body a:hover { text-decoration: underline; }

/* ===== Animations ===== */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-row, .contact-row { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .menu-btn { display: flex; }
    .nav-links {
        position: fixed; top: 60px; left: 0; width: 100%;
        flex-direction: column; align-items: center;
        background: rgba(250,251,255,0.97); backdrop-filter: blur(16px);
        padding: 2rem 0; gap: 1.5rem;
        transform: translateY(-120%); transition: transform 0.35s;
        border-bottom: 1px solid #e2e8f0;
    }
    .nav-links.active { transform: translateY(0); }

    .card-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .hero h1 { font-size: 2.3rem; }
    .stats-bar { gap: 1.5rem; flex-wrap: wrap; }
    .sec-title { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero { padding-top: 110px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .stats-bar { flex-direction: column; gap: 0.75rem; text-align: center; }
    .form-pair { grid-template-columns: 1fr; }
    .skill-chips { justify-content: center; }
}
