:root {
    --primary-color: #E32636;
    --primary-hover: #C81D2A;
    --secondary-color: #FFD700;
    --text-main: #000000;
    --text-muted: #4B5563;
    --bg-main: #FFFDF0;
    --bg-surface: #FFFFFF;
    --border-color: #E5E7EB;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(227, 38, 54, 0.4);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Comic Neue', cursive, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image: 
        /* Red Face 1 */
        radial-gradient(circle at 50% 65%, rgba(227, 38, 54, 0.15) 0%, transparent 25px),
        radial-gradient(circle at 25% 30%, rgba(227, 38, 54, 0.15) 0%, transparent 15px),
        radial-gradient(circle at 75% 30%, rgba(227, 38, 54, 0.15) 0%, transparent 15px),
        /* Yellow Face Offset */
        radial-gradient(circle at 50% 65%, rgba(255, 215, 0, 0.15) 0%, transparent 25px),
        radial-gradient(circle at 25% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 15px),
        radial-gradient(circle at 75% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 15px);
    background-size: 120px 120px;
    background-position: 0 0, 0 0, 0 0, 60px 60px, 60px 60px, 60px 60px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
    padding: 14px;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Layout */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Base Styles */
.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    animation: slideDown 0.5s ease;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeUp 0.8s ease backwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeUp 1s ease backwards;
}

.trust-indicators {
    display: flex;
    gap: 24px;
    opacity: 0.8;
    animation: fadeUp 1.2s ease backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Glassmorphism preview card */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.blob-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color), #B91C1C);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color), #F59E0B);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

/* Mickey Ears Silhouette Background */
.mickey-ears-bg {
    position: absolute;
    z-index: 2;
    top: 5%;
    right: 5%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}
.mickey-ears-bg .head {
    width: 180px;
    height: 180px;
    background: #000;
    border-radius: 50%;
    position: relative;
}
.mickey-ears-bg .ear {
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: -40px;
}
.mickey-ears-bg .left {
    left: -20px;
}
.mickey-ears-bg .right {
    right: -20px;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tutor Card Inside */
.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-md);
}

.name-verified {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tutor-subject {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Modals & Dynamic Views Base */
.view-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    animation: fadeUp 0.5s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px auto;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Side Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.side-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1002;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}
.side-drawer.active {
    right: 0;
}
.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}
.drawer-header h3 {
    margin: 0;
}
.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.drawer-content {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.drawer-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}
.drawer-section:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.drawer-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(227, 38, 54, 0.1);
    padding: 12px;
    border-radius: 50%;
}
.drawer-section h4 {
    margin: 0 0 4px 0;
    color: var(--text-main);
}
.drawer-section p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}
.pulse-bubble {
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
