/* Reset & Base Styles */
:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-blue: #3b82f6;
    --btn-primary-bg: #ffffff;
    --btn-primary-text: #000000;
    --code-bg: #111111;
    --border-color: #27272a;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

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

a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
ul { list-style: none; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(5, 5, 5, 0.74);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-left { display: flex; align-items: center; gap: 3rem; }

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

.login-link {
    font-size: 0.9rem;
    font-weight: 600;
}

.signup-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}
.signup-btn:hover { opacity: 0.9; }

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.badge-container {
    display: inline-flex;
    align-items: center;
    background: #18181b;
    border-radius: 99px;
    padding: 4px;
    padding-right: 12px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.badge {
    background: var(--accent-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-right: 8px;
}

.badge-text { color: var(--text-secondary); }

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons { display: flex; gap: 1rem; }

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}
.btn-primary:hover { background: #f1f1f1; }
.btn-secondary:hover { background: #18181b; }

/* Code Window */
.code-window {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
    font-family: var(--font-code);
    font-size: 0.9rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: #18181b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dots { display: flex; gap: 6px; margin-right: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #eab308; }
.green { background: #22c55e; }

.filename {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.code-content {
    padding: 24px;
    position: relative;
}

/* pre { white-space: pre-wrap; } */
/* .language-yaml { color: #e4e4e7; } */
/* .key { color: #93c5fd; } */
/* .string { color: #86efac; } */
/* .comment { color: #52525b; } */
/* .dash { color: #71717a; } */
/* .value { color: #fca5a5; } */

pre { white-space: pre-wrap; }
.language-yaml { color: #e4e4e7; }
.key1 { color: #93c5fd; }
.key { color: #86efac; }
.string { color: #fca5a5; }
.comment { color: #52525b; }
.dash { color: #71717a; }
.value { color: #fca5a5; }



/* Trusted By Marquee */
.trusted-by {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.trusted-by p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logo-marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    padding-left: 4rem;
}

.marquee-content span {
    font-weight: 700;
    color: #3f3f46;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

footer {
    display: flex;
    justify-content: center;
    color: #c7c7c7;
}



/* Mobile Responsive */
/* @media (max-width: 768px) { */
    /* .nav-links, .nav-right { display: none; } */
    /* .hero-content { grid-template-columns: 1fr; text-align: center; } */
    /* .badge-container { margin-left: auto; margin-right: auto; } */
    /* .hero-buttons { justify-content: center; } */
    /* h1 { font-size: 3rem; } */
    /* .code-window { transform: none; margin-top: 2rem; } */
/* } */




/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links, .login-link { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .badge-container { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    h1 { font-size: 3rem; }
    .code-window { transform: none; margin-top: 2rem; }
}



/* =======================================================
   👇 NEW ADDITIONS FOR MOBILE SANDWICH MENU 👇 
   ======================================================= */

/* 1. Hamburger Icon (Hidden by default on PC) */
.hamburger {
    display: none; /* Stays hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Keeps it above the navbar */
    margin-left: 0.5rem;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

/* Hamburger X Animation */
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 2. Side Menu (Dark theme to match your site) */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100vh;
    background-color: #ffffff11; /* Matches your dark bg */
    border-left: 1px solid #ffffff2f;
    z-index: 999;
    transition: right 0.4s ease-in-out;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}

.side-menu.active { right: 0; }

.side-links {
    list-style: none;
    padding: 0 2rem;
}

.side-links li { margin: 2rem 0; }

.side-links li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.2s;
}

.side-links li a:hover {
    color: var(--text-primary);
    background-color: hsla(0, 0%, 100%, 0.153);
    padding: 6px 10px;
    border-radius: 14px;
}

/* 3. Background Blur Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: all 0.4s ease-in-out;
}

.overlay.active { opacity: 1; visibility: visible; }

.email2 {
    background-color: #ffffff17;
    padding: 6px 12px;
    border-radius: 0vw 3.6vw 3.6vw 3.6vw;
    border: 2px solid #ffffff38;
}

/* 4. Mobile Overrides (This overwrites your previous display: none) */
@media (max-width: 768px) {
    /* Bring back nav-right container so buttons can be seen */
    .nav-right { display: flex !important; gap: 1rem; }
    
    /* Hide the 'Call Me' link */
    .login-link, .signup-btn { display: none; }
    
    /* Show the Sandwich Icon */
    .hamburger { display: flex; }
}

/* Utility class to lock background scrolling */
body.no-scroll {
    overflow: hidden;
}
