:root {
    --primary-color: #0A2A4A;
    --secondary-color: #102D59;
    --background-color: #9CBACB;
    --card-color: #FFFFFF;
    --accent-color: #F9D648;
    --text-color: #0A2A4A;
    --shadow: 0 10px 30px rgba(10, 42, 74, 0.1);
}

@font-face {
    font-family: 'Mamba Ice';
    src: url('font/Mamba-Ice.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Mamba Ice', 'Fredoka', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: var(--card-color);
    box-shadow: 0 2px 10px rgba(10, 42, 74, 0.1);
}

.navbar {
    padding: 20px 0;
    transition: padding 0.3s ease;
}

header.scrolled .navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Mamba Ice', 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-btn {
    background-color: var(--secondary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* Hero */
.hero {
    padding: 100px 0 60px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-color);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1).fade-in { animation-delay: 0.1s; }
.feature-card:nth-child(2).fade-in { animation-delay: 0.2s; }
.feature-card:nth-child(3).fade-in { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(10, 42, 74, 0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    background-image: url('paterne.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tips-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 42, 74, 0.3);
    pointer-events: none;
}

.tips-section .container {
    position: relative;
    z-index: 1;
}

.tips-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.tips-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tips-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.tips-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.tips-section .section-subtitle {
    color: #FFFFFF;
    opacity: 0.9;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
    opacity: 0.8;
}

.tips-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.decorative-numbers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.decorative-numbers.left {
    align-items: flex-end;
}

.decorative-numbers.right {
    align-items: flex-start;
}

.number-badge {
    background-color: var(--card-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.number-badge:nth-child(1) { animation-delay: 0s; }
.number-badge:nth-child(2) { animation-delay: 0.5s; }
.number-badge:nth-child(3) { animation-delay: 1s; }
.number-badge:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.video-container {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background-color: #1a1a1a;
    border: 8px solid #2a2a2a;
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1a1a1a;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.video-container:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 25px 70px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

footer p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(10, 42, 74, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .tips-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .decorative-numbers {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .decorative-numbers.left,
    .decorative-numbers.right {
        align-items: center;
    }

    .number-badge {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}
