/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #f5f5f7;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== GLASS ===== */
.glass {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6c63ff;
    margin-bottom: 12px;
    background: rgba(108,99,255,0.12);
    padding: 6px 16px;
    border-radius: 100px;
}
.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #c0c0cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, #6c63ff 0%, #a855f7 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(108,99,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,99,255,0.5); }
.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: rgba(10,10,15,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: padding 0.3s;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.nav-logo {
    font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
}
.nav-logo span { color: #6c63ff; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a {
    font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
    padding: 8px 20px; font-size: 0.85rem; font-weight: 600;
    background: rgba(108,99,255,0.15); color: #a78bfa;
    border-radius: 100px; transition: all 0.2s;
}
.nav-cta:hover { background: rgba(108,99,255,0.25); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: #fff;
    margin: 5px 0; border-radius: 2px; transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px); padding: 24px; gap: 16px;
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(168,85,247,0.1) 0%, transparent 70%);
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: #a78bfa;
    background: rgba(108,99,255,0.1); padding: 6px 16px;
    border-radius: 100px; margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900;
    line-height: 1.05; margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.55); margin-bottom: 36px; line-height: 1.7;
}
.hero-stats {
    display: flex; gap: 32px; margin-bottom: 40px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(135deg, #6c63ff, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo img {
    width: 100%; max-width: 420px; aspect-ratio: 3/4; object-fit: cover;
    border-radius: 24px; margin: 0 auto;
    box-shadow: 0 20px 60px rgba(108,99,255,0.2);
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-photo { display: none; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.about-card { padding: 32px; transition: transform 0.3s, border-color 0.3s; }
.about-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.25); }
.about-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.about-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { padding: 36px; transition: transform 0.3s, border-color 0.3s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.25); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ===== ACHIEVEMENTS ===== */
.achievements { padding: 100px 0; }
.achievements-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.ach-item {
    display: flex; align-items: center; gap: 20px; padding: 20px 28px;
    transition: transform 0.3s, border-color 0.3s;
}
.ach-item:hover { transform: translateX(4px); border-color: rgba(108,99,255,0.25); }
.ach-year {
    font-size: 0.8rem; font-weight: 700; color: #6c63ff;
    white-space: nowrap; min-width: 80px;
}
.ach-title { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

/* ===== RESULTS ===== */
.results { padding: 100px 0; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.result-card { padding: 32px; text-align: center; transition: transform 0.3s; }
.result-card:hover { transform: translateY(-4px); }
.result-before-after {
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px;
}
.result-stat {
    font-size: 1.8rem; font-weight: 800; min-width: 80px;
}
.result-stat.bad { color: #ef4444; }
.result-stat.good { color: #22c55e; }
.result-arrow { font-size: 1.5rem; color: rgba(255,255,255,0.3); }
.result-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.result-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== CALCULATOR ===== */
.calculator { padding: 100px 0; }
.calc-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px;
}
.calc-group { margin-bottom: 20px; }
.calc-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: rgba(255,255,255,0.5); margin-bottom: 8px; text-transform: uppercase;
    letter-spacing: 0.08em;
}
.calc-group input,
.calc-group select {
    width: 100%; padding: 14px 16px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 1rem; font-family: inherit; outline: none;
    transition: border-color 0.2s;
}
.calc-group input:focus,
.calc-group select:focus { border-color: #6c63ff; }
.calc-group select option { background: #1a1a2e; }
.calc-result {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 300px; text-align: center;
}
.calc-result-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }
.calc-placeholder { color: rgba(255,255,255,0.4); font-size: 0.95rem; }
.calc-result-data { display: none; width: 100%; }
.calc-result-data.visible { display: block; }
.calc-big-num {
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, #6c63ff, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.calc-detail { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 8px; }
.calc-sub-detail { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 4px; }
@media (max-width: 768px) {
    .calc-wrapper { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0 120px; }
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px;
}
.contact-item {
    display: flex; gap: 16px; margin-bottom: 28px;
}
.ci-icon { font-size: 1.5rem; }
.contact-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: rgba(255,255,255,0.5); margin-bottom: 8px; text-transform: uppercase;
    letter-spacing: 0.08em;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 14px 16px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 1rem; font-family: inherit; outline: none;
    transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #6c63ff; }
.form-check { margin-bottom: 20px; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.8rem; color: rgba(255,255,255,0.5); cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    accent-color: #6c63ff; margin-top: 2px; flex-shrink: 0;
}
@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-size: 1.1rem; font-weight: 800; }
.footer-right p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== LEAD SENT MESSAGE ===== */
.lead-success {
    text-align: center; padding: 48px;
}
.lead-success-icon { font-size: 3rem; margin-bottom: 16px; }
.lead-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.lead-success p { color: rgba(255,255,255,0.5); }