/*
Theme Name: Seostars NEW
Author: Seostars
Requires PHP: 7
Description: Requires Plugins - Advanced Custom Fields, Polylang, Contact Form 7
*/

:root {
    --black: #191919;
    --dark: #141414;
    --dark2: #1f1f1f;
    --purple: #7042F4;
    --purple-light: #9066ff;
    --blue: #3E64FF;
    --purple-dim: rgba(112, 66, 244, 0.15);
    --white: #EAEAEA;
    --gray: #777777;
    --gray-light: #aaaaaa;
    --grid-color: rgba(234, 234, 234, 0.03);
}

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

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

/* GRID BACKGROUND */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.08em;
    color: white;
}

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

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    background: var(--purple);
    color: white !important;
    padding: 10px 24px;
    font-weight: 600 !important;
    border-radius: 2px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--purple-light) !important;
    color: white !important;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px 60px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 255, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
}

.hero-tag {
    display: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 9vw, 90px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title .line-purple {
    color: var(--purple);
}

.hero-title .outline {
    -webkit-text-stroke: 2px white;
    color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    background: var(--purple);
    color: white;
    padding: 16px 36px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 36px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: border-color 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--purple);
    transform: translateY(-2px);
}

/* scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-hint::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray), transparent);
    animation: scrollline 1.5s ease-in-out infinite;
}

@keyframes scrollline {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ─── SECTION COMMON ─── */
section {
    position: relative;
    z-index: 1;
    padding: 100px 60px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--purple);
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(25px, 5vw, 60px);
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 480px;
}

/* ─── ABOUT ─── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--dark2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), transparent);
}

.about-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 80px;
    color: var(--purple);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.8;
}

.about-number-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 24px;
}

.about-stat {
    background: var(--dark);
    padding: 28px 24px;
}

.about-stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: white;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 60px;
}

.service-card {
    background: var(--dark);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
}

.service-card:hover {
    background: var(--dark2);
}

.service-card:hover .service-icon {
    color: var(--purple);
}

.service-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 32px;
}

.service-icon {
    font-size: 28px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.service-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}

.service-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
}

.service-arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 16px;
    transition: all 0.2s;
}

.service-card:hover .service-arrow {
    border-color: var(--purple);
    color: var(--purple);
}

/* ─── TEAM ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s;
}

.team-card:hover {
    border-color: var(--purple);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--dark2);
    position: relative;
    overflow: hidden;
}

.team-photo-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.team-photo-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--purple);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.team-info {
    padding: 20px;
    background: var(--dark);
}

.team-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-quote {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
    font-style: italic;
}

/* ─── HOW WE WORK ─── */
.process {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step {
    padding: 48px 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.process-step:last-child {
    border-right: none;
}

.process-step-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    margin-bottom: 24px;
}

.process-step-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(123, 63, 255, 0.3);
    background: rgba(123, 63, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.process-step-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.process-step-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 60px;
}

.testimonial {
    background: var(--dark);
    padding: 40px;
    position: relative;
}

.testimonial::before {
    content: '❝';
    font-size: 48px;
    color: rgba(123, 63, 255, 0.2);
    font-family: serif;
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--purple-dim);
    border: 1px solid rgba(123, 63, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--purple-light);
    flex-shrink: 0;
}

.testimonial-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-role {
    font-size: 11px;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: var(--dark2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--purple);
}

.cta-banner-glow {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 48px);
    text-transform: uppercase;
    line-height: 1.0;
    letter-spacing: -0.01em;
}

.cta-title span {
    color: var(--purple);
}

/* ─── FOOTER ─── */
footer {
    padding: 60px 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 280px;
}

.footer-col-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* STAR SVG inline */
.star-shape {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ── GRAIN TEXTURE — CSS filter, works everywhere ── */
.grain-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 1;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  background: -webkit-radial-gradient(circle, rgba(112,66,244,0.12) 0%, transparent 70%);
  background: radial-gradient(circle, rgba(112,66,244,0.12) 0%, transparent 70%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  will-change: left, top;
  /* No CSS transition — moved via JS for smoothness */
}

/* ── NEON LOGO PULSE ── */
@-webkit-keyframes logoPulse {
  0%, 100% { -webkit-filter: drop-shadow(0 0 0px rgba(112,66,244,0)); filter: drop-shadow(0 0 0px rgba(112,66,244,0)); }
  50% { -webkit-filter: drop-shadow(0 0 8px rgba(112,66,244,0.9)); filter: drop-shadow(0 0 8px rgba(112,66,244,0.9)); }
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(112,66,244,0)); }
  50% { filter: drop-shadow(0 0 8px rgba(112,66,244,0.9)); }
}
nav .logo svg {
  -webkit-animation: logoPulse 3s ease-in-out infinite;
  animation: logoPulse 3s ease-in-out infinite;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.reveal-delay-1 { -webkit-transition-delay: 0.08s; transition-delay: 0.08s; }
.reveal-delay-2 { -webkit-transition-delay: 0.16s; transition-delay: 0.16s; }
.reveal-delay-3 { -webkit-transition-delay: 0.24s; transition-delay: 0.24s; }
.reveal-delay-4 { -webkit-transition-delay: 0.32s; transition-delay: 0.32s; }
.reveal-delay-5 { -webkit-transition-delay: 0.40s; transition-delay: 0.40s; }
.reveal-delay-6 { -webkit-transition-delay: 0.48s; transition-delay: 0.48s; }

/* ── TYPING CURSOR ── */
.cursor-blink {
  display: inline-block; width: 3px; height: 0.8em;
  background: #7042F4; margin-left: 4px;
  vertical-align: middle;
  -webkit-animation: blink 0.7s step-end infinite;
  animation: blink 0.7s step-end infinite;
}
@-webkit-keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── 3D CARD ── */
.service-card {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.15s ease, background 0.3s;
  transition: transform 0.15s ease, background 0.3s;
  will-change: transform;
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; -webkit-transform: none !important; transform: none !important; }
  nav .logo svg { -webkit-animation: none; animation: none; }
  .cursor-blink { -webkit-animation: none; animation: none; }
  .service-card { -webkit-transition: none; transition: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    section {
        padding: 80px 30px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

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

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

    footer {
        padding: 40px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
