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

:root {
    --primary-color: #E53E3E;
    --secondary-color: #C53030;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333;
    --text-light: #666;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-register {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-register:hover {
    background: #C53030;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        gap: 1rem;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 1rem 2rem;
        gap: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #C53030 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #B91C1C;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Live notifications */
#live-notifications {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
    max-width: 320px;
    pointer-events: none;
}

.live-toast {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 12px 14px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto;
    cursor: pointer;
}

.live-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.live-toast strong {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark-color);
}

.live-toast small {
    display: block;
    color: var(--text-light);
    margin-bottom: 6px;
}

.live-toast span {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    #live-notifications {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.6) 0%, rgba(197, 48, 48, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.75rem;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-features i {
    margin-top: 4px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

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

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

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

/* Stats Section */
.stats {
    background: var(--light-color);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-subtitle {
    color: var(--text-light);
}

/* Features Section */
.features {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: radial-gradient(140% 80% at 20% 10%, rgba(229, 62, 62, 0.08), transparent 50%),
                radial-gradient(120% 90% at 80% 20%, rgba(197, 48, 48, 0.08), transparent 55%),
                #ffffff;
}

.features::before,
.features::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.5;
}

.features::before {
    width: 240px;
    height: 240px;
    background: rgba(229, 62, 62, 0.1);
    top: -60px;
    left: -60px;
}

.features::after {
    width: 280px;
    height: 280px;
    background: rgba(197, 48, 48, 0.08);
    bottom: -80px;
    right: -80px;
}

.features .section-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(229, 62, 62, 0.1);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(6px);
}

.features .section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.features .section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

.features-cta {
    text-align: center;
}

/* Registration Steps */
.registration-steps {
    padding: 5rem 0;
    background: var(--light-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-card p {
    color: var(--text-light);
}

.steps-cta {
    text-align: center;
}

/* Verification Section */
.verification {
    padding: 5rem 0;
    background: var(--white);
}

.verification-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.verification-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.verification-list {
    list-style: none;
    margin: 2rem 0;
}

.verification-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

.verification-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.verification-note {
    color: var(--text-light);
    margin: 1.5rem 0;
    font-style: italic;
}

.verification-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Affiliate Section */
.affiliate {
    padding: 5rem 0;
    background: var(--light-color);
}

.affiliate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.affiliate-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.affiliate-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.affiliate-list {
    list-style: none;
    margin: 2rem 0;
}

.affiliate-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

.affiliate-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Open API Section */
.open-api {
    padding: 5rem 0;
    background: var(--white);
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.api-feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.api-feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.api-feature h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.api-cta {
    text-align: center;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: var(--light-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-us-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-us-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.why-us-item p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

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

.testimonial-card {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #C53030 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.cta-feature span {
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: var(--light-color);
}

.final-cta-content {
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.final-cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-phone {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .verification-content,
    .affiliate-content {
        grid-template-columns: 1fr;
    }

    .verification-image,
    .affiliate-image {
        order: -1;
    }

    .verification-text .btn-primary,
    .affiliate-text .btn-primary {
        width: 100%;
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .verification-image,
    .affiliate-image {
        margin-bottom: 2rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-register {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
    }

    .btn-secondary,
    .btn-outline {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
    }

    .cta-buttons,
    .final-cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .final-cta-buttons .btn-primary,
    .final-cta-buttons .btn-outline {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }

    .btn-register {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
        border-radius: 8px;
    }

    .btn-primary {
        min-height: 48px;
    }

    .btn-secondary,
    .btn-outline {
        min-height: 48px;
    }

    .stats-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .features-cta,
    .steps-cta,
    .api-cta {
        padding: 0 10px;
    }

    .cta-buttons,
    .final-cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 10px;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .final-cta-buttons .btn-primary,
    .final-cta-buttons .btn-outline {
        width: 100%;
        margin: 0;
    }
}

