@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-subtle: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-soft: #eff6ff;
    --accent: #6366f1;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1100px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide Scrollbar */
::-webkit-scrollbar {
    display: none;
}
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 65ch;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--bg-subtle);
    border-color: var(--text-primary);
}

/* Cards & Containers */
.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
}

/* Specific Sections */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.trust-bar {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0.5;
    filter: grayscale(100%);
}

.trust-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-muted);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: var(--bg-subtle);
    padding: 3rem;
    border-radius: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

/* Tabs Enhancement */
.tab-container {
    margin-top: 4rem;
}

.tab-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-white);
    border-color: var(--text-primary);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--text-primary);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
    transform: translateY(-10px);
}

.pricing-card.featured .badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--text-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price-box {
    margin: 2rem 0;
}

.price-box .currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: top;
}

.price-box .amount {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.price-box .period {
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

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

.pricing-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--text-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* CTA Section */
.cta-box {
    background-color: var(--text-primary);
    color: var(--bg-white);
    padding: 6rem 4rem;
    border-radius: 48px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-box h2 {
    color: var(--bg-white);
}

.cta-box p {
    color: var(--text-muted);
    margin: 0 auto 3rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-bar .container div:last-child {
        display: none !important; /* Hide desktop nav items on mobile */
    }
    
    .nav-bar .container {
        justify-content: center !important;
    }

    .cta-box {
        padding: 4rem 2rem;
        border-radius: 24px;
    }

    #tab-content {
        padding: 2rem !important;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .trust-logos {
        gap: 2rem;
    }
    
    .trust-logo {
        font-size: 1rem;
    }
}
