:root {
    --bg: #0b1220;
    --card: #131c2e;
    --card-hover: #1c263b;
    --muted: #94a3b8;
    --text: #f1f5f9;
    --accent: #ff7a18;
    --accent-glow: rgba(255, 122, 24, 0.4);
    --accent-2: #1fb6ff;
    --gold-1: #f5d77a;
    --gold-2: #d4af37;
    --radius: 20px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.6);
    --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(31,182,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(255,122,24,0.08) 0%, transparent 40%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: 0.2s; }
button { font-family: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(11,18,32,0.75);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-actions .cta {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.header-actions .cta-secondary {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.nav { height: 70px; display: flex; align-items: center;}

.brand { display: flex; align-items: center; gap: 12px; }
.brand h1 { font-size: 1.15rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.logo-img {
    width: 32px; 
    height: 32px; 
    border-radius: 6px;
    object-fit: contain;
}

.nav-links { display: flex; gap: 8px; align-items: center; margin: 0px 12px;}
.nav-links a {
    font-size: 0.95rem; font-weight: 500; color: var(--muted);
    padding: 8px 16px; border-radius: 99px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Buttons */
.cta {
    background: linear-gradient(135deg, var(--accent), #ffb703);
    color: #0b1220; padding: 10px 20px; border-radius: 99px;
    font-weight: 700; box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-block; text-align: center; border: none; cursor: pointer;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--accent-glow); opacity: 1; }
.cta.secondary { 
    background: rgba(255,255,255,0.05); color: #fff; box-shadow: none; border: 1px solid var(--border);
}
.cta.secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* HERO */
.hero { padding: 80px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge {
    background: rgba(31,182,255,0.1); color: #7dd3fc;
    padding: 6px 12px; border-radius: 99px; font-size: 0.85rem; font-weight: 600;
    display: inline-block; margin-bottom: 24px; border: 1px solid rgba(31,182,255,0.2);
}
.hero h2 { font-size: 3rem; line-height: 1.1; margin: 0 0 24px; font-weight: 800; letter-spacing: -0.03em; }
.text-gradient { background: linear-gradient(to right, var(--accent), #ffb703); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; }

.mock {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid var(--border); border-radius: 24px; padding: 24px;
    box-shadow: var(--shadow); position: relative;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: center; }
.stat strong { display: block; font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.stat span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }

/* SECTIONS */
section { padding: 80px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-title { font-size: 2.2rem; margin: 0 0 16px; font-weight: 800; }
.title-pill { display: inline-block; } 
.section-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.service-note {
    font-family: "Caveat", cursive; color: var(--accent); font-size: 1.5rem;
    margin-top: 16px; display: inline-block;
}

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; transition: 0.3s ease;
}
.hover-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); box-shadow: var(--shadow-hover); }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.price { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.card ul { padding-left: 20px; color: var(--muted); margin: 0; }
.card li { margin-bottom: 8px; }

/* TUTORS */
.tutor-group-head { margin: 40px 0 24px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.group-title { font-size: 1.5rem; margin: 0 0 4px; color: #fff; }
.tutor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.tutor-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; position: relative;
    display: flex; flex-direction: column; height: 100%; transition: 0.3s;
}
.tutor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* Super Tutor Styling */
.super-card {
    background: linear-gradient(180deg, rgba(245, 215, 122, 0.05), rgba(19, 28, 46, 0.4));
    border-color: rgba(212,175,55,0.3);
}
.pill {
    display: inline-block; font-size: 0.7rem; font-weight: 800;
    padding: 4px 10px; border-radius: 99px; letter-spacing: 1px; margin-bottom: 12px;
}
.pill.super { background: var(--gold-2); color: #000; box-shadow: 0 2px 10px rgba(212,175,55,0.3); }
.pill.exp { background: rgba(31,182,255,0.15); color: #7dd3fc; border: 1px solid rgba(31,182,255,0.2); }

.tutor-name { font-size: 1.25rem; margin: 0 0 12px; }
.tutor-photo, .photo-placeholder {
    width: 80px; height: 80px; border-radius: 16px; object-fit: cover;
    margin-bottom: 16px; border: 1px solid var(--border); background: #1a2438;
}
.photo-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--muted); }

.tutor-meta { font-weight: 600; color: #fff; margin: 0 0 8px; font-size: 0.95rem; }
.tutor-card .section-sub { font-size: 0.9rem; line-height: 1.5; flex-grow: 1; margin-bottom: 20px; }

.tutor-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: auto; }
.btn {
    padding: 10px; border-radius: 10px; font-weight: 700; font-size: 0.9rem;
    border: none; cursor: pointer; transition: 0.2s;
}
.btn.primary { background: var(--accent); color: #000; }
.btn.primary:hover { opacity: 0.9; }
.btn.outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn.outline:hover { border-color: #fff; color: #fff; }

/* WHY US */
.why { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.feature-list { margin-top: 24px; }
.feature { display: grid; grid-template-columns: 24px 1fr; gap: 0; margin-bottom: 16px; }
.feature p { margin: 0; }
.dot { width: 8px; height: 8px; background: var(--accent-2); border-radius: 50%; margin-top: 10px; }

/* BANNER */
.banner-card {
    background: linear-gradient(135deg, rgba(31,182,255,0.1), rgba(11,18,32,0.8));
    border-color: rgba(31,182,255,0.3); display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 24px;
}

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.quote-card blockquote { margin: 0 0 16px; font-style: italic; color: #e2e8f0; opacity: 0.9; }
.quote-card .author { font-weight: 700; color: var(--muted); font-size: 0.9rem; text-align: right; }

/* FOUNDER */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.founder-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 48px 0; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }

/* MODALS */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; justify-content: center; align-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); }
.modal-content {
    background: #131c2e; width: 90%; max-width: 600px; height: 80vh; padding: 32px;
    border-radius: 24px; border: 1px solid var(--border); position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
    opacity: 0; transform: translateY(20px); transition: 0.3s ease; overflow-y: auto;
}
.modal.show { display: flex; }
.modal.show .modal-content { opacity: 1; transform: translateY(0); }
.close { position: absolute; top: 20px; right: 24px; font-size: 28px; cursor: pointer; color: var(--muted); transition: 0.2s; }
.close:hover { color: #fff; }

.message-box textarea, .message-box input {
    width: 100%; background: #0b1220; border: 1px solid var(--border);
    border-radius: 12px; padding: 12px; color: #fff; font-family: inherit; margin-bottom: 16px;
}
.message-box textarea:focus, .message-box input:focus { outline: none; border-color: var(--accent); }
.hint { background: rgba(31,182,255,0.1); padding: 12px; border-radius: 8px; font-size: 0.9rem; color: #bae6fd; margin-bottom: 16px; }

/* MOBILE NAV */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
.mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%; background: #131c2e;
    border-bottom: 1px solid var(--border); padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    transform: translateY(-20px); opacity: 0; pointer-events: none; transition: 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links, .desktop-only { display: none; }
    .mobile-toggle { display: flex; }
    .hero-grid, .why, .founder { grid-template-columns: 1fr; gap: 32px; }
    .hero h2 { font-size: 2.2rem; }
    .stats { grid-template-columns: 1fr; }
    .card { padding: 20px; }
}