:root {
    --primary: #d1ba9b;
    --primary-light: #e8d4bc;
    --primary-dark: #b89f7f;
    --accent: #ff751f;
    --accent-light: #ff9a52;
    --bg-start: #2e373d;
    --bg-end: #141a20;
    --text: #f5f5f5;
    --text-muted: #a0a0a0;
    --bg: linear-gradient(135deg, #2e373d 0%, #141a20 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #2e373d 0%, #141a20 100%);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -20px); }
    50% { transform: translate(-5px, -30px); }
    75% { transform: translate(-15px, -10px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 117, 31, 0.4); }
    50% { box-shadow: 0 0 60px rgba(255, 117, 31, 0.7); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes scale-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes slide-up {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slide-down {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slide-left {
    0% { transform: translateX(50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slide-right {
    0% { transform: translateX(-50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes zoom-in {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glow-border {
    0%, 100% { border-color: rgba(255, 117, 31, 0.3); }
    50% { border-color: rgba(255, 117, 31, 0.6); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-soft { animation: pulse-soft 4s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }
.animate-glow-pulse { animation: glow-pulse 2s ease-in-out infinite; }
.animate-breathe { animation: breathe 3s ease-in-out infinite; }
.animate-scale-bounce { animation: scale-bounce 2s ease-in-out infinite; }
.animate-zoom-in { animation: zoom-in 0.5s ease-out forwards; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 26, 32, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: #141a20;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 16px;
    border-radius: 8px;
}

nav a:hover {
    color: #ff863a;
    background: rgba(255, 117, 31, 0.15);
    transform: translateY(-2px);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    color: #141a20;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px -10px rgba(255, 117, 31, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #d1ba9b;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #d1ba9b;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    color: #141a20;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2028 0%, #0d1117 100%);
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(209, 186, 155, 0.1);
    top: 10%;
    right: 10%;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 117, 31, 0.1);
    bottom: 20%;
    left: 5%;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.hero-text h1 span {
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 40, 50, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(209, 186, 155, 0.2);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    border-radius: 50%;
    animation: pulse-soft 2s ease-in-out infinite;
}

.hero-badge span {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-circle {
    width: 450px;
    height: 450px;
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 80px -20px rgba(255, 117, 31, 0.4);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-circle::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(209, 186, 155, 0.2);
    border-radius: 50%;
    animation: spin-slow 30s linear infinite reverse;
    z-index: 2;
    pointer-events: none;
}

.hero-circle::after {
    content: '';
    position: absolute;
    inset: -40px;
    border: 2px solid rgba(255, 117, 31, 0.15);
    border-radius: 50%;
    animation: spin-slow 25s linear infinite;
    z-index: 3;
    pointer-events: none;
}

.hero-teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    animation: breathe 3s ease-in-out infinite;
}

.hero-teacher-img:hover {
    animation: none;
    transform: scale(1.08);
    cursor: pointer;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-light {
    background: linear-gradient(180deg, #2e373d 0%, #1a2028 100%);
}

.section-dark {
    background: linear-gradient(180deg, #1a2028 0%, #0d1117 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 117, 31, 0.1);
    border-bottom: 1px solid rgba(255, 117, 31, 0.1);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 117, 31, 0.15);
    color: #ff751f;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #f5f5f5;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Teacher Section */
.teacher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.teacher-photo-wrap {
    position: relative;
}

.teacher-photo {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.teacher-photo-inner {
    background: linear-gradient(180deg, #d1ba9b 0%, #ff751f 100%);
    border-radius: 30px;
    padding: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 117, 31, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(255, 117, 31, 0.4);
}

.teacher-photo-inner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 117, 31, 0.2);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.teacher-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 5;
    border-radius: 27px;
}

.teacher-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 8px;
}

.teacher-info h4 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.teacher-info p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    background: linear-gradient(135deg, #2e373d 0%, #1a2028 100%);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 117, 31, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px -10px rgba(255, 117, 31, 0.3);
    border-color: rgba(255, 117, 31, 0.5);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ff751f;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 330px));
    gap: 24px;
    justify-content: center;
}

.course-card {
    background: linear-gradient(135deg, #2e373d 0%, #1a2028 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: block;
    width: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 117, 31, 0.3);
}

.course-card:hover .course-title {
    color: #ff751f;
    transition: color 0.3s ease;
}

.course-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.course-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-thumb {
    transform: scale(1.04);
}

.course-card-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255,117,31,0.15) 0%, rgba(209,186,155,0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
}

.course-card-line {
    height: 4px;
}

.course-card-line.blue { background: linear-gradient(90deg, #d1ba9b 0%, #e8d4bc 100%); }
.course-card-line.dark { background: linear-gradient(90deg, #b89f7f 0%, #d1ba9b 100%); }
.course-card-line.orange { background: linear-gradient(90deg, #ff751f 0%, #ff9a52 100%); }
.course-card-line.mix { background: linear-gradient(90deg, #d1ba9b 0%, #ff751f 100%); }

.course-card-content {
    padding: 28px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.course-level {
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.course-duration {
    font-size: 14px;
    color: var(--text-muted);
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.course-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.course-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff751f;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.course-link:hover {
    gap: 12px;
    transform: translateX(5px);
}

/* Video Section */
.video-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.video-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.video-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(21, 101, 192, 0.4);
    top: -100px;
    left: 10%;
}

.video-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 87, 34, 0.3);
    bottom: -50px;
    right: 15%;
}

.section-header-dark {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.section-header-dark .section-badge {
    background: rgba(255, 117, 31, 0.2);
    color: #ff751f;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(255, 117, 31, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 117, 31, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper:hover {
    transform: scale(1.02);
    border-color: rgba(255, 117, 31, 0.6);
    box-shadow: 0 40px 80px -20px rgba(255, 117, 31, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #2e373d 0%, #1a2028 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-large {
    padding: 24px 48px;
    font-size: 22px;
    animation: glow-pulse 2s ease-in-out infinite;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -15px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px -15px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp svg {
    width: 28px;
    height: 28px;
}

/* Footer */
footer {
    background: #0d1117;
    color: white;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 117, 31, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 16px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 350px;
}

.footer-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    color: #ff751f;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.footer-links a:hover {
    color: #ff751f;
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Decorative circles */
.circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle-deco {
    position: absolute;
    border: 2px solid rgba(21, 101, 192, 0.1);
    border-radius: 50%;
    animation: spin-slow 30s linear infinite;
}

/* Scroll Animations */
.fade-in, .fade-in-up, .fade-in-down, .fade-in-left, .fade-in-right, .fade-in-zoom {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible, .fade-in-up.visible, .fade-in-down.visible, 
.fade-in-left.visible, .fade-in-right.visible, .fade-in-zoom.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down { transform: translateY(-50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }
.fade-in-zoom { transform: scale(0.8); }

/* Hover glow */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 117, 31, 0.4);
}

.icon-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-hover:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 24px;
    }
    .hero-text h1 { font-size: 42px; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .teacher-grid { grid-template-columns: 1fr; }
    .courses-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .course-card { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .hero-text h1 { font-size: 32px; }
    .section-title { font-size: 32px; }
    .teacher-stats { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}