:root {
    --primary: #ff3366;
    --primary-dark: #e6294f;
    --secondary: #6c5ce7;
    --secondary-dark: #5a4bd1;
    --accent: #00d2d3;
    --dark: #1a1a2e;
    --darker: #16213e;
    --darkest: #0f0f1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #adb5bd;
    --success: #00b894;
    --gradient-primary: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    --gradient-secondary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(255,51,102,0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--darkest);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

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

.nav a {
    color: var(--gray-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,51,102,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(108,92,231,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255,51,102,0.5);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(108,92,231,0.5);
}

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

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

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.section {
    padding: 100px 20px;
}

.section-dark {
    background: var(--dark);
}

.section-darker {
    background: var(--darker);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.section-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,51,102,0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

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

.feature-card p {
    color: var(--gray-light);
    line-height: 1.7;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background: rgba(255,51,102,0.1);
    border-color: var(--primary);
    transform: scale(1.02);
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

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

.category-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

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

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

.content-block h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--white);
}

.content-block p {
    margin-bottom: 20px;
    color: var(--gray-light);
    line-height: 1.8;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-block li {
    margin-bottom: 10px;
    color: var(--gray-light);
    position: relative;
}

.content-block li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 15px 25px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    border: none;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.05);
    animation: none;
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,51,102,0.4); }
    50% { box-shadow: 0 0 40px rgba(255,51,102,0.6); }
}

.footer {
    background: var(--darkest);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.footer-section a {
    display: block;
    color: var(--gray-light);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--gray);
}

.breadcrumb {
    padding: 120px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--gray-light);
}

.breadcrumb span {
    color: var(--gray);
    margin: 0 10px;
}

.breadcrumb-current {
    color: var(--primary);
}

.page-header {
    padding: 80px 20px 60px;
    background: var(--gradient-dark);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray-light);
    margin-top: 10px;
}

.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}

.author-info h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.cta-section {
    background: var(--gradient-primary);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

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

.cta-btn {
    background: var(--white);
    color: var(--primary);
    padding: 18px 40px;
    font-size: 1.1rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.faq-question {
    padding: 25px 30px;
    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.02);
}

.faq-question h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out;
}

.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-inline svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 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: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

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

    .section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

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