/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0284c7;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 0.75rem 2rem;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 2rem;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    border: 1px solid var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--accent) !important;
}

.btn-nav:hover {
    background-color: var(--accent);
    color: var(--bg-dark) !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    margin-left: auto;
}

.mobile-menu-btn:hover {
    color: var(--accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    max-width: 850px;
    margin: 11rem auto 8rem auto;
    padding: 0 2rem;
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   HERO BUTTONS LAYOUT & SECONDARY VARIANT
   ========================================================================== */
.hero-btns {
    display: inline-flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section,
.why-section {
    max-width: 1050px;
    margin: 0 auto 9rem auto;
    padding: 0 2rem;
}

.services-section h2,
.why-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE ME
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.why-item {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-card);
    padding: 5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4,
.footer-cta h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-cta p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    nav {
        top: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .hero {
        margin: 9rem auto 6rem auto;
    }

    .hero h1 {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services-section,
    .why-section {
        margin-bottom: 6rem;
    }

    .services-section h2,
    .why-section h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        left: -10px;
        right: -10px;
        background-color: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        padding: 0 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .btn-nav {
        border: none;
        border-radius: 0;
        color: var(--accent) !important;
    }

    .btn-nav:hover {
        background: none;
        color: var(--accent-hover) !important;
        box-shadow: none;
    }

    .nav-links.open {
        max-height: 350px;
        opacity: 1;
        padding: 10px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   PRICING PAGE STYLES
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 1rem;
    border-radius: 50px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1;
}

.pricing-card .desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
}

.pricing-card .perks {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-card .perks li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pricing Table */
.table-container {
    overflow-x: auto;
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.pricing-table th, .pricing-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 700;
    color: var(--accent);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: translateY(0);
    }
}