/* Lumyo Awareness Website Styles */

:root {
    --primary: #0A0E27;
    --accent: #00F5D4;
    --secondary: #F15BB5;
    --warning: #FEE440;
    --text: #E8E9F3;
    --text-dim: #9394A5;
    --surface: #1A1F3A;
    --surface-light: #252B4A;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    margin-left: -150%;
    margin-top: -150%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--accent) 2px, var(--accent) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--accent) 2px, var(--accent) 4px);
    background-size: 50px 50px;
    background-position: center center;
    animation: slidePattern 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes slidePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Header/Nav */
header {
    position: relative;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 245, 212, 0.1);
    backdrop-filter: blur(10px);
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--secondary), var(--warning));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 0 40px rgba(241, 91, 181, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Services Section */
.services {
    position: relative;
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid rgba(0, 245, 212, 0.1);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 245, 212, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-card p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

/* Lumyo Section */
.lumyo-section {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    border-top: 1px solid rgba(0, 245, 212, 0.1);
    border-bottom: 1px solid rgba(0, 245, 212, 0.1);
}

.lumyo-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lumyo-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.lumyo-text p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.lumyo-visual {
    background: var(--primary);
    border: 2px solid rgba(241, 91, 181, 0.2);
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(241, 91, 181, 0.2);
}

.lumyo-visual::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

/* Contact Section */
.contact {
    position: relative;
    padding: 6rem 5%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: var(--surface);
    border: 1px solid rgba(0, 245, 212, 0.2);
    padding: 3rem;
    margin-top: 2rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary);
}

/* Footer */
footer {
    position: relative;
    padding: 3rem 5%;
    border-top: 1px solid rgba(0, 245, 212, 0.1);
    text-align: center;
    color: var(--text-dim);
}

/* Responsive - base adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2.4rem, 9vw, 3rem);
    }

    .lumyo-content {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .services, .lumyo-section, .contact {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
/* ===== RESPONSIVE NAVIGATION ===== */

/* Ensure header never causes horizontal overflow */
header {
    max-width: 100%;
    overflow: visible;
}

/* Tablet: slightly smaller nav */
@media (max-width: 900px) {
    nav {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 0.95rem;
    }
}

/* Mobile: nav moves below logo, centered */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 5%;
        gap: 1rem;
        align-items: center;
    }

    .logo {
        font-size: 1.6rem;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.2rem;
        width: 100%;
        max-width: 100%;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.2rem;
        white-space: nowrap;
    }
}

/* Small mobile: even more compact */
@media (max-width: 400px) {
    header {
        padding: 0.8rem 3%;
    }
    
    .logo {
        font-size: 1.4rem;
    }

    nav {
        gap: 0.4rem 1rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.3rem 0.1rem;
    }
    
    nav a::after {
        display: none; /* Remove underline animation on very small screens for cleaner look */
    }
}
