/* ==========================================================================
   CSS VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
    --bg-main: #0B0F17;
    --card-bg: rgba(22, 31, 48, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --cyan: #00F0FF;
    --cyan-glow: rgba(0, 240, 255, 0.3);
    --indigo: #3B82F6;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --font-stack: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* ==========================================================================
   BACKGROUND GLOW EFFECTS
   ========================================================================== */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
}

.glow-top {
    top: -200px;
    left: -100px;
}

.glow-bottom {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.mb-large { margin-bottom: 6rem; }
.flex-col { display: flex; flex-direction: column; height: 100%; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }

.gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

/* ADD THESE NEW LINES TO FIX THE BUTTON TEXT COLOR */
.nav-links a.btn-primary {
    color: var(--bg-main);
}
.nav-links a.btn-primary:hover {
    color: var(--bg-main);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-only { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    background: var(--cyan);
    color: var(--bg-main);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--cyan);
}

.btn-primary:hover, .glow-effect:hover {
    background: #33F3FF;
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--cyan);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--cyan);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* The auto-fit grid magically handles responsive stacking without media queries */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ==========================================================================
   GLASSMORPHISM CARDS
   ========================================================================== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio Tags */
.tags {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-container {
    max-width: 600px;
}

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

.price-display {
    margin: 2rem 0 0.5rem 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}

.price-context {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-recurring {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}

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

.feature-list i {
    color: var(--cyan);
    font-size: 1.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
}

.footer-email {
    color: var(--cyan);
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin: 1rem 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .desktop-only { display: none; }
    .mobile-only { display: inline-flex; margin-top: 1rem; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 23, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--card-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .glass-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }
}