/* Base styles */
:root {
    /* Colors */
    --color-websie: #3B82F6;
    --color-websie-dark: #2563EB;
    --color-websie-darker: #1D4ED8;
    --color-websie-light: #60A5FA;
    --color-text: #111827;
    --color-text-muted: #6B7280;
    --color-background: #FFFFFF;
    --color-border: #E5E7EB;
    --color-light-bg: #F9FAFB;

    /* Radius */
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: var(--color-websie);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-websie-dark);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 10rem;
}

.logo img {
    width: 100%;
}

.desktop-btn {
    display: none;
}

.mobile-btn {
    display: block;
    background-color: var(--color-websie-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
}

/* Button styles */
.btn-primary {
    background-color: var(--color-websie-dark);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--color-websie-darker);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta {
    background-color: var(--color-websie);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    background-color: var(--color-websie-dark);
    color: white;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-white {
    background-color: white;
    color: var(--color-text);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.btn-white:hover {
    background-color: #f1f5f9;
    color: var(--color-text);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Hero section */
.hero {
    padding-top: 13rem;
    padding-bottom: 5rem;
    background-image: linear-gradient(to bottom, #f0f9ff, white);
    text-align: center;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background-image: linear-gradient(to bottom right, var(--color-websie), var(--color-websie-dark));
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section styles */
.section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Video section */
.video-container {
    position: relative;
    background-color: rgba(14, 165, 233, 0.05);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-websie);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.play-button:hover {
    transform: scale(1.05);
}

.play-button svg {
    color: white;
    margin-left: 3px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-small {
    font-size: 0.875rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Learning Section */
.bg-light {
    background-color: var(--color-light-bg);
}

.learning-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.learning-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.learning-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.check-icon {
    margin-right: 1rem;
    min-width: 2rem;
    height: 2rem;
    background-color: var(--color-websie);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 4rem 1rem;
    background-image: linear-gradient(to right, var(--color-websie), var(--color-websie-dark));
    text-align: center;
}

.cta-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.text-white {
    color: white;
}

/* Footer */
footer {
    background-color: var(--color-light-bg);
    padding: 3rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 2.5rem;
}

.footer-logo img {
    height: 100%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.external-link {
    display: flex;
    align-items: center;
    color: var(--color-websie);
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.external-link:hover {
    color: var(--color-websie-dark);
}

.footer-link {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Media Queries */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .desktop-btn {
        display: block;
    }

    .mobile-btn {
        display: none;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }

    .learning-points {
        margin-top: 3rem;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Default navbar style */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

/* Style after scroll */
.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}