:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f48fb1;
    --secondary: #9c27b0;
    --accent: #ff4081;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #eaeaea;
    --white: #ffffff;
    --gray: #6c757d;
    --success: #4caf50;
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --radius: 12px;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--light);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body > header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

nav a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(233, 30, 99, 0.2);
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(233, 30, 99, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease, transform 0.6s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.card:hover::before {
    left: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.6);
}

.btn:active {
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    box-shadow: none;
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    transition: all 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

.feature:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.feature p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.content-block {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.content-block p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(255,255,255,0.8);
}

.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
}

.faq-item {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.testimonial {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 30px;
    margin: 20px 0;
    position: relative;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    padding-left: 30px;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cta-section {
    text-align: center;
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(156, 39, 176, 0.2) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 15px 25px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(233, 30, 99, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(233, 30, 99, 0.7);
}

.floating-btn svg {
    width: 20px;
    height: 20px;
}

footer {
    background: rgba(0,0,0,0.3);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumbs a {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 10px;
}

.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
}

.content-wrapper h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: var(--white);
}

.content-wrapper h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--white);
}

.content-wrapper ul, .content-wrapper ol {
    margin: 20px 0;
    padding-left: 25px;
    color: rgba(255,255,255,0.85);
}

.content-wrapper li {
    margin-bottom: 10px;
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(233, 30, 99, 0.5);
    }
    50% {
        box-shadow: 0 5px 40px rgba(233, 30, 99, 0.8);
    }
}

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

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gradient);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    margin: 30px 0;
}

.stats-bar-item {
    text-align: center;
}

.stats-bar-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-bar-item .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.video-preview {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 20px 0;
}

.video-preview img {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.list-articles {
    list-style: none;
}

.list-articles li {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.list-articles li:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
}

.list-articles h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.list-articles p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.list-articles .date {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--white);
    padding: 15px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* codex-ui-fixes */
.logo,
.logo:hover,
.logo:focus,
.logo:active {
    text-decoration: none;
}

.menu-toggle,
.nav-toggle,
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover,
.nav-toggle:hover,
.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-1px);
}

.menu-toggle:focus-visible,
.nav-toggle:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.menu-toggle i,
.nav-toggle i,
.mobile-menu-btn i,
.menu-toggle svg,
.nav-toggle svg,
.mobile-menu-btn svg {
    display: block;
    margin: 0 auto;
}

.menu-toggle span,
.nav-toggle span,
.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 992px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 25px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}