/* ============================= */
/* Global Reset */
/* ============================= */

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ============================= */
/* Navbar */
/* ============================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body {
    padding-top: 85px; /* equal to navbar height */
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #6366f1;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ============================= */
/* Buttons */
/* ============================= */

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99,102,241,0.3);
}

.btn-secondary {
    border: 2px solid #6366f1;
    color: #6366f1;
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
}

/* ============================= */
/* Hero */
/* ============================= */

.hero {
    padding: 160px 0 160px;
    background: linear-gradient(to right, #f9fafb, #eef2ff);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.hero-left h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 30px;
}

.hero-left p {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 25px;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right img {
    max-width: 520px;
    border-radius: 20px;
    transition: 0.4s ease;
}

/* Main Image */
.main-img {
    position: relative;
    z-index: 3;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

/* Background Images */
.bg-img {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
    filter: blur(2px);
}

/* First background */
.bg-img-1 {
    transform: rotate(-8deg);
    left: -40px;
    top: 20px;
}

/* Second background */
.bg-img-2 {
    transform: rotate(8deg);
    right: -40px;
    bottom: 20px;
}

.hero-right img:hover {
    transform: rotate(0deg) scale(1.03);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    font-size: 14px;
    font-weight: 600;
}

.floating-card.growth {
    top: 20px;
    left: -40px;
}

.floating-card.team {
    bottom: 20px;
    right: -40px;
}

/* ============================= */
/* Section Header */
/* ============================= */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.section-header p {
    color: #6b7280;
    font-size: 18px;
}

/* ============================= */
/* Features */
/* ============================= */

.features {
    padding: 160px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.feature-card {
    background: #f9fafb;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

/* ============================= */
/* How It Works */
/* ============================= */

.how-it-works {
    padding: 160px 0;
    background: #f8fafc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.step-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 25px;
}

/* ============================= */
/* Pricing */
/* ============================= */

.pricing {
    padding: 160px 0;
    background: white;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 70px;
}

.toggle-label {
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
}

.toggle-label.active {
    color: #111827;
    font-weight: 600;
}

.toggle-switch {
    width: 65px;
    height: 32px;
    background: #e5e7eb;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
}

.toggle-circle {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: 0.3s ease;
}

.toggle-switch.active .toggle-circle {
    transform: translateX(33px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.pricing-card {
    background: #f9fafb;
    padding: 70px 40px;
    border-radius: 25px;
    text-align: center;
    transition: 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.price {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 35px;
}

.price span {
    font-size: 18px;
    color: #6b7280;
}

.popular {
    background: white;
    border: 2px solid #6366f1;
    box-shadow: 0 30px 70px rgba(99,102,241,0.15);
}

.badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================= */
/* Testimonials */
/* ============================= */

.testimonials {
    padding: 160px 0;
    background: #f8fafc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.testimonial-card {
    background: white;
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

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

/* ============================= */
/* Scroll Reveal */
/* ============================= */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease;
}

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

/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 992px) {

    /* ===== Mobile Hero Image Fix ===== */


.hero {
    padding: 80px 0 50px;  /* reduce big vertical space */
}

.hero-left h1 {
    font-size: 34px;
    line-height: 1.25;
}

.hero-left p {
    font-size: 16px;
    margin-bottom: 25px;
}

.hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}    

.hero-right {
    margin-top: 30px;
}

.bg-img {
    display: none; /* hide stacked images */
}

.main-img {
    transform: none !important; /* remove rotation */
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-right img {
    width: 100%;
}

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

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

    .hamburger {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .steps-grid,
    .pricing-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .how-it-works,
    .pricing,
    .testimonials {
        padding: 120px 20px;
    }
}

.logo {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo:hover {
    color: #6366f1;          /* subtle hover effect */
}


/* ============================= */
/* Footer */
/* ============================= */

.footer {
    background: #111827;
    color: #e5e7eb;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #9ca3af;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}