:root {
    --brand-color: rgb(255, 132, 92);
    --brand-color-glow: rgba(255, 132, 92, 0.5);
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-border-dark: rgba(0, 0, 0, 0.5);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --bg-color: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
}

/* Background animated blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 { width: 45vw; height: 45vw; background: var(--brand-color); top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { width: 35vw; height: 35vw; background: rgba(255, 90, 50, 0.8); bottom: -15%; right: -10%; animation-delay: -5s; animation-duration: 25s; }
.blob-3 { width: 30vw; height: 30vw; background: var(--brand-color); top: 40%; left: 40%; animation-delay: -10s; animation-duration: 22s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(10vw, 5vh) scale(1.2) rotate(180deg); }
    100% { transform: translate(-5vw, 15vh) scale(0.9) rotate(360deg); }
}

/* Liquid Glass Utility */
.liquid-glass {
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.3), rgba(20, 20, 25, 0.1));
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid var(--glass-border-light);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2), 
        inset 0 -1px 1px rgba(0, 0, 0, 0.5), 
        0 12px 40px 0 rgba(0, 0, 0, 0.4);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    animation: shine 8s infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.liquid-glass::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 132, 92, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.liquid-glass:hover::after {
    opacity: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 1000;
    border-radius: 40px;
    padding: 15px 35px;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--brand-color);
    box-shadow: 0 0 18px var(--brand-color-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
}

section {
    width: 90%;
    max-width: 1200px;
    margin-bottom: 100px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    font-weight: 800;
    color: #fff;
}

/* Hero Section */
.hero {
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--brand-color);
    text-shadow: 0 0 40px rgba(255, 132, 92, 0.4);
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 5;
    text-align: center;
}

.btn-primary {
    background: var(--brand-color);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 132, 92, 0.4);
}

.btn-primary.liquid-glass {
    background: rgba(255, 132, 92, 0.15);
    border: 1px solid rgba(255, 132, 92, 0.5);
    backdrop-filter: blur(15px);
    color: var(--brand-color);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 132, 92, 0.5);
    color: #fff;
    background: var(--brand-color);
}

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

.feature-card {
    padding: 35px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: rgba(255, 132, 92, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 132, 92, 0.3);
    position: relative;
    z-index: 5;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    z-index: 5;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 5;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-card {
    padding: 35px;
}

.faq-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--brand-color);
    position: relative;
    z-index: 5;
}

.faq-card p {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 5;
}

/* Promo Section */
.promo-section {
    text-align: center;
    padding: 60px 20px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.promo-section .section-title {
    margin-bottom: 20px;
}

.promo-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.promo-section .btn {
    margin-top: 30px;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    align-items: stretch;
    margin-bottom: 80px;
}

.pricing-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-wrapper.popular, .pricing-card-wrapper.premium {
    transform: scale(1.05);
}

.pricing-card-wrapper.popular:hover, .pricing-card-wrapper.premium:hover {
    transform: scale(1.05) translateY(-10px);
    transition: transform 0.4s ease;
}

.popular-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-color);
    color: #fff;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(255, 132, 92, 0.4);
    z-index: 10;
}

.discount-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: #fff;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
    z-index: 10;
}

.pricing-card {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-wrapper:not(.popular) .pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card-wrapper.popular .pricing-card {
    border: 1px solid rgba(255, 132, 92, 0.6);
    box-shadow: 0 0 40px rgba(255, 132, 92, 0.15);
}

.pricing-card-wrapper.premium .pricing-card {
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 5;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-color);
    margin-bottom: 5px;
    position: relative;
    z-index: 5;
}

.pricing-card-wrapper.premium .price {
    background: linear-gradient(to right, var(--brand-color), #ffcf54);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.old-price {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.4);
}

.duration {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    position: relative;
    z-index: 5;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.pricing-card .features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Pricing Comparison Table */
.pricing-table-wrapper {
    width: 100%;
    margin-bottom: 50px;
    padding: 20px;
}

.pricing-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    position: relative;
    z-index: 5;
}

.pricing-table th, .pricing-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table th {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand-color);
}

.pricing-table th:first-child, .pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #fff;
}

.pricing-table td {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.check-icon {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.cross-icon {
    color: #F44336;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    font-size: 1rem;
    margin-top: auto;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .pricing-card-wrapper.popular, .pricing-card-wrapper.premium { transform: scale(1); }
    .pricing-card-wrapper.popular:hover, .pricing-card-wrapper.premium:hover { transform: translateY(-10px); }
    
    .pricing-table th, .pricing-table td {
        padding: 15px 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .navbar { width: 95%; padding: 15px 20px; }
    .nav-content { justify-content: space-between; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(20, 20, 25, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
        border-radius: 20px;
        border: 1px solid var(--glass-border-light);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    .hero-title { font-size: 2.8rem; }
    
    .pricing-card, .feature-card, .faq-card {
        padding: 25px 20px;
    }
}
