:root {
    /* WP Modern Light Theme Colors */
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #0f172a;
    --accent: #ef4444;
    
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Layout Constants */
    --container-w: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.2;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-green { color: var(--primary); }
.bg-light { background-color: var(--bg-light); }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary);
    border-color: var(--bg-gray);
}

.btn-secondary:hover {
    background-color: var(--bg-gray);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

/* Header & Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-gray);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
}

.main-header.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

.main-header.scrolled .logo {
    max-height: 40px;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Sections Common */
.section {
    padding: 7rem 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-gray);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 11rem 0 8rem 0;
    overflow: hidden;
    background-color: var(--bg-body);
}

.hero-bg {
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
}

.hero-content .badge {
    display: inline-block;
    background: rgba(34,197,94,0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.glass-illustration {
    background: white;
    height: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(248,250,252,0.8));
    border: 1px solid white;
}

/* Courses Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--bg-gray);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-thumb {
    height: 200px;
    position: relative;
    padding: 1.5rem;
}

.bg-gradient-1 { background: linear-gradient(135deg, #10b981, #047857); }
.bg-gradient-2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.bg-gradient-3 { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.position-absolute { position: absolute; top: 1.5rem; right: 1.5rem; }

.badge {
    background: rgba(255,255,255,0.9);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bg-dark { background: #0f172a; color: white; }
.bg-primary { background: var(--primary); color: white; }

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content .meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex: 1;
}

/* Tools Section */
.tools-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.tools-sidebar {
    padding: 3rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--bg-gray);
}

.shadow-box {
    box-shadow: var(--shadow-md);
    border: none;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.tool-cat-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tool-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-gray);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    color: white;
}

.bg-green { background: #10b981; }
.bg-yellow { background: #f59e0b; }
.bg-blue { background: #3b82f6; }
.bg-brand { background: #8b5cf6; }

.tool-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.tool-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tips Banner */
.tips-banner {
    background: var(--secondary);
    border-radius: 20px;
    padding: 4rem;
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.tips-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 400px;
    background: linear-gradient(90deg, rgba(34,197,94,0) 0%, rgba(34,197,94,0.1) 100%);
    z-index: 0;
}

.tips-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.tips-banner h2 {
    color: white;
    font-size: 2.5rem;
}

.tips-list {
    margin-top: 2rem;
    list-style: none;
}

.tips-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.tips-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.tips-list strong {
    color: white;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    background-color: var(--bg-body);
    border-top: 1px solid var(--bg-gray);
}

.site-footer p {
    color: var(--text-muted);
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .intro-grid, .tools-wrapper { grid-template-columns: 1fr; }
    .main-nav { display: none; } /* Could add mobile burger menu in broader scope */
    .sm-hidden { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .tips-banner { padding: 2rem; }
    .hero-buttons { flex-direction: column; }
}

/* Chatbot Styles */
.chatbot-container { position: fixed; bottom: 30px; right: 30px; z-index: 2000; font-family: 'Inter', sans-serif; }
.chatbot-toggler { width: 70px; height: 70px; background: white; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s ease; border: 3px solid var(--primary); }
.chatbot-toggler:hover { transform: scale(1.05); }
.bot-avatar-btn { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.bot-badge { position: absolute; top: -5px; right: -5px; background: var(--accent); color: white; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; border: 2px solid white; }

.chatbot-window { position: absolute; bottom: 90px; right: 0; width: 350px; background: white; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid var(--bg-gray); }
.chatbot-window.active { opacity: 1; pointer-events: all; transform: translateY(0); }

.chatbot-header { background: var(--secondary); color: white; padding: 15px 20px; display: flex; align-items: center; gap: 15px; }
.bot-avatar { width: 45px; height: 45px; border-radius: 50%; border: 2px solid white; background: white; }
.chatbot-header h4 { color: white; font-family: 'Inter', sans-serif; font-size: 16px; margin: 0; padding: 0; }
.status-online { font-size: 12px; color: #a1a1aa; display: flex; align-items: center; gap: 5px; }
.status-online .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: inline-block; }
.close-bot { margin-left: auto; background: transparent; border: none; color: white; font-size: 20px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.close-bot:hover { opacity: 1; }

.chatbot-messages { height: 350px; padding: 20px; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 15px; }
.bot-message, .user-message { max-width: 85%; padding: 12px 15px; font-size: 14px; line-height: 1.5; position: relative; }
.bot-message { background: white; color: var(--text-main); border-radius: 0 15px 15px 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid var(--bg-gray); align-self: flex-start; }
.bot-message p { margin: 0; }
.user-message { background: var(--primary); color: white; border-radius: 15px 0 15px 15px; align-self: flex-end; box-shadow: 0 2px 5px rgba(34,197,94,0.2); }
.user-message p { margin: 0; color: white; }

.chatbot-input { padding: 15px; background: white; border-top: 1px solid var(--bg-gray); display: flex; gap: 10px; align-items: center; }
.chatbot-input input { flex: 1; padding: 12px 15px; border: 1px solid #e2e8f0; border-radius: 50px; outline: none; font-size: 14px; transition: border-color 0.2s; }
.chatbot-input input:focus { border-color: var(--primary); }
.chatbot-input button { width: 45px; height: 45px; border-radius: 50%; background: var(--primary); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; font-size: 16px; }
.chatbot-input button:hover { background: var(--primary-dark); }
