/* ==========================================================================
   ScaleShift.ai - Main Stylesheet
   Optimized for SEO, Performance, and Scalability
   ========================================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --dark-bg: #0A0E27;
    --dark-blue: #1A1F3A;
    --light-blue: #00D4FF;
    --light-blue-bg: #00D4FF;
    
    /* Purple Palette (legacy - kept for compatibility) */
    --purple-primary: #6B46C1;
    --purple-secondary: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-lighter: #C4B5FD;
    --purple-cream: #EDE9FE;
    --purple-ultra-light: #F5F3FF;
    
    /* Text Colors */
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8E9AAF;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 2rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Body & Background */
body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: #FFFFFF;
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, #0A0E27 0%, #1A1F3A 50%, #0F1429 100%),
        radial-gradient(circle at 0% 100%, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: 0.03em;
}

.logo-icon {
    width: 40px;
    height: 36px;
    position: relative;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 140%;
    height: 140%;
    background: 
        repeating-linear-gradient(
            35deg,
            #06B6D4 0%, #06B6D4 22%,
            rgba(0, 0, 0, 0.2) 22%, rgba(0, 0, 0, 0.2) 23%,
            #3B82F6 23%, #3B82F6 45%,
            rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.2) 46%,
            #6366F1 46%, #6366F1 68%,
            rgba(0, 0, 0, 0.2) 68%, rgba(0, 0, 0, 0.2) 69%,
            #4338CA 69%, #4338CA 91%,
            rgba(0, 0, 0, 0.2) 91%, rgba(0, 0, 0, 0.2) 92%,
            #4338CA 92%, #4338CA 100%
        );
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: var(--font-family);
}

.logo-text-top,
.logo-text-bottom {
    font-size: 0.8em;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: #FFFFFF;
}

.cta-button {
    background: var(--light-blue-bg);
    color: var(--dark-bg);
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
}

.cta-button:hover {
    background: #00B8E6;
    transform: translateY(-1px);
}

.sign-in-button {
    background: transparent;
    color: #FFFFFF;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
    margin-left: 0.5rem;
}

.sign-in-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Container & Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

/* Footer */
footer {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

