:root {
    --bg-color: #0B1120;
    --bg-color-alt: #111827; /* slightly lighter for alternate sections */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --accent-blue: #3B82F6;
    --accent-blue-hover: #2563EB;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #1E293B;
    
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background elements */
body::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(11, 17, 32, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-color-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header p {
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(11, 17, 32, 0.8);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-blue);
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-sm {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
}

.btn-outline-sm:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.glass-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    mix-blend-mode: screen;
}

/* Blocks / Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

/* Features List */
.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.card-note {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

/* Layout for two col sections where text is one side and image/card on other */
.content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Call to action boxes */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: rgba(15, 23, 42, 0.8);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: rgba(11, 17, 32, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

/* Profile / Founder section */
.founder-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.founder-img {
    width: 100px;
    height: 100px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-container, .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .content-block {
        align-items: center;
    }

    p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .glass-card {
        transform: none;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-list {
        text-align: left;
        display: inline-block;
    }
    
    .founder-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
}
/* Light Theme Variables */
body.light-theme {
    --bg-color: #F8FAFC;
    --bg-color-alt: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #475569;
    --accent-blue: #2563EB;
    --accent-blue-hover: #1D4ED8;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-bg: #FFFFFF;
}

body.light-theme::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
}

body.light-theme .navbar {
    background-color: rgba(255, 255, 255, 0.8);
}

body.light-theme .cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(241, 245, 249, 1) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body.light-theme .form-control {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
}

body.light-theme .form-control:focus {
    background-color: rgba(255, 255, 255, 0.8);
}

body.light-theme footer {
    background-color: rgba(248, 250, 252, 0.9);
}

body.light-theme h1 {
    background: linear-gradient(to right, #0F172A, #334155);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background-color: var(--glass-bg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}
