/* --- 1. GLOBAL SETTINGS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background:var(--bg-main);
    color:var(--text-main);
    overflow-x: hidden; 
}

/* --- 2. NAVBAR LAYOUT --- */
.navbar {
    background:var(--bg-main);
    padding: 18px 0; 
    border-bottom:1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

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

.nav-cta{
    display:flex;
    align-items:center;
    gap:12px;
}

/* --- 3. LOGO (Transparent) --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1100; 
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 28px; 
    font-weight: 900;
    letter-spacing: -1.2px;
}

.logo img{
    height:32px;
    width:auto;
    margin-right:10px;

    background:white;
    padding:4px 8px;
    border-radius:6px;
}


/* --- 4. NAVIGATION LINKS (Desktop) --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px; 
}

.nav-links a {
    text-decoration: none;
    color:var(--text-secondary);
    font-size: 16px; 
    font-weight: 600; 
    transition: 0.3s;
}

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

/* --- 5. BUTTONS --- */
.btn-demo{
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white !important;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-demo:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.mobile-cta { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: 0.3s ease;
}
/* FOOTER */

.footer{
    border-top:1px solid var(--border-color);
    padding:20px 50px;
}

.footer-bottom{
    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-copy{
    color:var(--text-secondary);
    font-size:14px;
}

.footer-social{
    display:flex;
    gap:16px;
}

.footer-social a{
    width:36px;
    height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,0.08);
    border-radius:10px;

    color:var(--text-secondary);
    text-decoration:none;
    transition:0.3s;
}

.footer-social a:hover{
    color:var(--text-main);
    border-color:#3b82f6;
}
.mobile-theme{
    display:none;
}
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hamburger {
        display: flex; 
        position:relative;
    z-index:1300;
    }

    .nav-cta {
        display: none; 
    }

 
    .nav-links {
        position: fixed;
        right: -100%; 
        top: 0;
        height: 100vh;
        width: 75%; 
        background:var(--bg-main); 
        display: flex; 
        flex-direction: column;
        justify-content: flex-start; 
        align-items: flex-start;   
        padding-top: 80px;  
        padding-left: 30px; 
        gap: 25px; 
        transition: 0.4s ease-in-out;
        z-index: 1200;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0 !important;
    }

    .mobile-cta {
        display: block; 
        margin-top: 10px;
    }
    .mobile-theme{
    display:none;
}
.mobile-theme{
    display:block;
    margin-top:10px;
}

  
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* THEME SYSTEM */

/* DARK THEME (DEFAULT) */
:root{
    --bg-main:#050a18;
    --bg-card:#0b1324;
    --text-main:#ffffff;
    --text-secondary:#94a3b8;
    --border-color:rgba(255,255,255,0.05);
    --accent:#3b82f6;
}

/* LIGHT THEME */

body.light-theme{
    --bg-main:#ffffff;
    --bg-card:#f1f5f9;
    --text-main:#0f172a;
    --text-secondary:#475569;
    --border-color:#e2e8f0;
    --accent:#2563eb;
}

.theme-toggle{
    width:30px;
    height:30px;

    border-radius:50%;
    border:1px solid var(--border-color);

    background:var(--bg-card);

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
    transition:0.2s ease;
    padding:0;
}
.theme-toggle:hover{
    border-color:var(--accent);
    box-shadow:0 0 10px rgba(59,130,246,0.4);
}

.theme-icon{
    width:18px;
    height:18px;

    stroke:var(--text-main);
    stroke-width:2;
    fill:none;
}