
:root {
    --primary: #feca57;
    --secondary: #edb606;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #2ecc71;
    --info: #3498db;
    --warning: #edb606;
    --danger: #e74c3c;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(254, 202, 87, 0.15) 0%, transparent 40%);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .highlight {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 400px;
}

.hero-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.confidence {
    background: linear-gradient(45deg, var(--success), #27ae60);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.match {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.match:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.team {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.vs {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

.prediction {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prediction-badge {
    background: rgba(254, 202, 87, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Features Section */
.features {
    padding: 6rem 0;

    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 90% 80%, rgba(254, 202, 87, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Bet Converter Section */
.converter-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 100%);
    position: relative;
}

.converter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 30% 70%, rgba(254, 202, 87, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(254, 202, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.converter-demo {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    height: 100%;
}

.converter-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.converter-step h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.converter-step p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.bookmaker-logos img {
    transition: all 0.3s ease;
}

.bookmaker-logos img:hover {
    transform: scale(1.1);
}

.converter-benefits {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.converter-benefit {
    margin-bottom: 1.5rem;
}

.converter-benefit h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
}

.converter-benefit p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    padding-left: 1.8rem;
}

/* App CTA Section */
.app-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    padding: 3rem 0;
    border-radius: 20px;
    margin: 4rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.app-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('<?= BASE_URL ?>assets/images/pattern.png') center/cover;
    opacity: 0.1;
}

.app-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

.app-cta-text {
    flex: 1;
    max-width: 600px;
}

.app-cta-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.app-cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.app-cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-cta-image img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-container {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-buttons, .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .app-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .app-cta-text {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }

    .stat:not(:last-child)::after {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.2s;
}
.delay-2 {
    animation-delay: 0.4s;
}
.delay-3 {
    animation-delay: 0.6s;
}

/* Dark/Frosted Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    padding: 80px 0;
    color: #ffffff;
}

.pricing-card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #ec4899);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #4f46e5;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.25);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(90deg, #4f46e5, #ec4899);
    color: white;
    padding: 5px 30px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
    z-index: 1;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 5px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    margin-right: 5px;
    color: #a5b4fc;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.period {
    align-self: flex-end;
    font-size: 14px;
    color: #9ca3af;
    margin-left: 5px;
    margin-bottom: 5px;
}

.pricing-features {
    padding: 30px;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 10px;
    font-size: 18px;
}

.pricing-features .text-success {
    color: #10b981 !important;
}

.pricing-features .text-danger {
    color: #ef4444 !important;
}

.pricing-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.pricing-footer .btn-primary {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.pricing-footer .btn-primary:hover {
    background: linear-gradient(90deg, #4338ca, #6d28d9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.pricing-footer .btn-outline-primary {
    color: #a5b4fc;
    border: 2px solid #4f46e5;
    background: transparent;
}

.pricing-footer .btn-outline-primary:hover {
    background: rgba(79, 70, 229, 0.2);
    color: #e0e7ff;
    border-color: #6366f1;
    transform: translateY(-3px);
}

/* Glow Animation */
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(79, 70, 229, 0.3); }
    50% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.5); }
    100% { box-shadow: 0 0 10px rgba(79, 70, 229, 0.3); }
}

.pricing-card.featured {
    animation: glow 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1.03);
    }
}

@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 30px;
    }

    .pricing-card.featured {
        transform: none;
        animation: none;
    }

    .price {
        flex-direction: column;
        align-items: center;
    }

    .currency {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .period {
        align-self: center;
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Entry Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}