/* Custom Properties */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 24, 0.6);
    --primary: #8a2be2;
    --primary-glow: rgba(138, 43, 226, 0.5);
    --secondary: #4169e1;
    --accent: #00ffff;
    --text-main: #f8f8f8;
    --text-muted: #a0a0ab;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(18, 18, 22, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(138, 43, 226, 0.08), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(65, 105, 225, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.blob-2 {
    top: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #b066ff, #4169e1, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: white;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(138, 43, 226, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.5rem 0;
    border-radius: 50px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    word-break: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-guarantee {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.video-wrapper {
    border-radius: 24px;
    overflow: hidden;
    padding: 10px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Sections Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(65, 105, 225, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Why GrindX */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 4rem;
    align-items: center;
}

.large-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.large-text.highlight {
    color: var(--primary);
    font-weight: 700;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.check-list i {
    color: var(--accent);
    background: rgba(0, 255, 255, 0.1);
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

.preview-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

/* Bundle */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.bundle-item {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.bundle-item:hover {
    transform: scale(1.05);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
}

.bundle-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.bundle-item h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Results */
.results-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.result-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(65, 105, 225, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(65, 105, 225, 0.3);
}

.result-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.result-item p {
    margin-bottom: 0;
}

.perfect-for {
    padding: 3rem;
}

.perfect-for h3 {
    margin-bottom: 2rem;
    color: var(--text-main);
}

.perfect-for ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.perfect-for li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.perfect-for i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

/* Pricing */
.pricing {
    position: relative;
    overflow: hidden;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.pricing-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
}

.new-price {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.savings-badge {
    display: inline-block;
    background: rgba(0, 255, 128, 0.15);
    color: #00ff80;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 128, 0.3);
}

.pricing-body {
    padding: 2rem 3rem 3rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-features i {
    color: #00ff80;
    font-size: 1.2rem;
}

.secure-checkout {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-container, .why-content, .results-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .video-wrapper {
        transform: none;
    }
    .why-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero { text-align: center; padding-top: 8rem; }
    .hero-container { gap: 2rem; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-cta { display: flex; flex-direction: column; align-items: center; }
    .section-title { font-size: 2rem; }
    .pricing-body { padding: 2rem; }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .pricing-header { padding: 2rem 1.5rem 1.5rem; }
    .pricing-body { padding: 1.5rem; }
    .large-text { font-size: 1.2rem; }
    .container { padding: 0 1.5rem; }
    .footer { padding: 0.8rem 0; margin-top: 1rem; }
}
