:root {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.9);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #a855f7;
    --secondary-glow: rgba(168, 85, 247, 0.4);
    --accent: #ef4444;
    --text-main: #1e293b;
    --text-muted: #475569;
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-blur: blur(16px);
}

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

body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* Background Glowing Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.orb-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary);
}
.orb-2 {
    bottom: -10%; right: -10%; width: 60vw; height: 60vw; background: var(--secondary);
}

/* Header - Glassmorphism */
header { 
    padding: 1.5rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid var(--glass-border); 
}
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; display: flex; align-items: center; }
nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
nav a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; }
nav a:hover, nav a.active { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

/* Hero Section */
.hero { 
    padding: 10rem 5%; 
    text-align: center; 
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero h1 { 
    font-size: 4.5rem; 
    font-weight: 800; 
    margin-bottom: 1.5rem; 
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { 
    font-size: 1.25rem; 
    color: var(--text-muted); 
    max-width: 650px; 
    margin: 0 auto 3rem auto; 
    font-weight: 400;
}

/* Buttons */
.btn { 
    display: inline-block; 
    padding: 1rem 2.5rem; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: white; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3); 
    cursor: pointer; 
    border: 1px solid rgba(0,0,0,0.05); 
    letter-spacing: 0.5px;
}
.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px var(--secondary-glow); 
    color: white; 
}
.btn-outline { 
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); 
    box-shadow: none; 
    color: var(--text-main); 
}
.btn-outline:hover { 
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary); 
    color: var(--primary); 
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Sections & Cards (Glassmorphism) */
.section { padding: 5rem 5%; position: relative; }
.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 2rem; 
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-text { 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    max-width: 800px; 
    margin: 0 auto 3rem auto; 
    text-align: center; 
}

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

.card { 
    background: var(--bg-card); 
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2.5rem; 
    border-radius: 24px; 
    border: 1px solid var(--glass-border); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1px; 
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card:hover { 
    transform: translateY(-10px); 
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05), 0 0 20px rgba(59, 130, 246, 0.1); 
}
.card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: var(--primary); 
    font-weight: 600;
}
.card p { color: var(--text-muted); }

/* Tabs Styles */
.tabs-container { max-width: 100%; margin: 0 auto; }
.tabs-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }
.tab-btn { 
    padding: 1rem 2.5rem; 
    border-radius: 12px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 1px solid var(--glass-border); 
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(8px);
    color: var(--text-muted); 
    font-size: 1rem; 
    outline: none; 
}
.tab-btn:hover { 
    background: rgba(255, 255, 255, 1); 
    color: var(--primary);
}
.tab-btn.active { 
    background: rgba(59, 130, 246, 0.15); 
    border-color: var(--primary); 
    color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); 
}
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.pricing-card { 
    background: var(--bg-card); 
    backdrop-filter: var(--glass-blur);
    padding: 3.5rem 2.5rem; 
    border-radius: 24px; 
    text-align: center; 
    border: 1px solid var(--glass-border); 
    position: relative; 
    transition: transform 0.4s ease; 
}
.pricing-card.popular { 
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3); 
    transform: scale(1.05); 
    z-index: 10; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 30px rgba(59, 130, 246, 0.15);
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.price { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.05em; color: var(--text-main); }
.price span { font-size: 1.1rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.promo { color: var(--secondary); font-weight: 600; margin-bottom: 2.5rem; display: block; letter-spacing: 0.5px; }
.features-list { list-style: none; text-align: left; margin-bottom: 2.5rem; }
.features-list li { margin-bottom: 1rem; padding-left: 2rem; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.features-list li::before { 
    content: '✓'; 
    position: absolute; 
    left: 0; 
    color: var(--primary); 
    font-weight: bold; 
    background: rgba(59, 130, 246, 0.2);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}

/* Content Pages Formatting */
.content-wrapper { max-width: 95%; margin: 0 auto; padding: 2rem 0; }
.content-wrapper h2 { color: var(--primary); margin-top: 2rem; margin-bottom: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.content-wrapper p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.1);
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 20px rgba(59, 130, 246, 0.1);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}
.modal-close:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }
.modal-body h3, .modal-body h4 { color: var(--primary); margin-top: 2rem; margin-bottom: 1rem; }
.modal-body ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.modal-body li { margin-bottom: 0.5rem; color: var(--text-muted); }

/* Footer */
footer.main-footer {
    background: transparent !important;
    position: relative;
}
footer.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0));
}

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; padding: 1rem 5%; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero h1 { font-size: 2.8rem; }
    .pricing-card.popular { transform: none; }
}
