/* ============================================
   Sayarus Technology — styles.css
   ============================================ */

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

:root {
    --yellow: #FFD600;
    --yellow-dark: #E6C200;
    --black: #1A1A1A;
    --navy: #0F1B2D;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #E0E0E0;
    --gray-dark: #757575;
    --radius: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

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

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

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

.nav-cta {
    background: var(--yellow);
    color: var(--black);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--black) 0%, var(--navy) 100%);
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

#meteorCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid rgba(255, 214, 0, 0.3);
    color: var(--yellow);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.hero-text h1 span {
    color: var(--yellow);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.btn-primary {
    background: var(--yellow);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 214, 0, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   Logo Bar
   ============================================ */

.logos {
    padding: 60px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--gray);
}

.logos-label {
    text-align: center;
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.logo-tile {
    width: 80px;
    height: 48px;
    background: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
}

.logo-tile:hover {
    opacity: 1;
}

.logo-tile span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-dark);
    letter-spacing: 1px;
}

/* ============================================
   Section Headers
   ============================================ */

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

.section-eyebrow {
    color: var(--yellow-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--black);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Products Section
   ============================================ */

.products {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.product-card {
    background: var(--black);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.08) 0%, transparent 70%);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.product-badge {
    display: inline-block;
    background: rgba(255, 214, 0, 0.15);
    color: var(--yellow);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.product-card > p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 700;
}

.product-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--yellow-dark);
}

/* ============================================
   Process Section
   ============================================ */

.process {
    padding: 100px 0;
    background: var(--gray-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Tech Stack Section
   ============================================ */

.tech {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
}

.tech .section-header h2 {
    color: var(--white);
}

.tech .section-eyebrow {
    color: var(--yellow);
}

.tech-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.tech-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   Case Study Section
   ============================================ */

.case-study {
    padding: 100px 0;
    background: var(--white);
}

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

.case-text p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.metric {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.metric-label {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    color: var(--black);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--black);
}

.testimonial-card footer strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-card footer span {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text .section-eyebrow {
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.stat-label {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-member {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.team-avatar {
    width: 64px;
    height: 64px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-avatar span {
    color: var(--yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: var(--black);
    color: var(--white);
}

.cta .btn-primary:hover {
    background: #333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-logo {
    height: 36px;
    border-radius: 6px;
}

.footer-col h4 {
    color: var(--yellow);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-groups {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-grid,
    .products-grid,
    .testimonials-grid,
    .case-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .tech-groups {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .logos-row {
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-ghost {
        text-align: center;
    }
}
