/*
Theme Name: AirdroiTech
Theme URI: https://airdroidtech.com
Author: Developer Name
Author URI: https://airdroidtech.com
Description: A WordPress 7.0 compatible theme with modern design for AirdroiTech.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: airdroidtech
*/
/* =========================================
   AIRDROITECH: THE ARCHITECT OF EASE
   Design System: Tech-Noir & Deep Obsidian
   ========================================= */

:root {
    --bg-primary: #121A1D; /* Deep Obsidian */
    --cyan-accent: #32C690; /* Electric Cyan */
    --teal-muted: #70B4B9; /* Muted Teal */
    --tech-gray: #E1E3E2; /* Technical Gray */
    --text-primary: #ffffff;
    --text-muted: rgba(225, 227, 226, 0.7);
    --border-subtle: rgba(112, 180, 185, 0.2);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sharp: 0px; /* Architectural sharp edges */
    --radius-slight: 2px;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* cursor: none; removed for visibility */
}

html {
    scroll-behavior: initial; /* Handled by Lenis */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cyan-accent);
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--cyan-accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px 4px rgba(50, 198, 144, 0.4);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-glow.active {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--cyan-accent);
    box-shadow: 0 0 10px rgba(50, 198, 144, 0.2) inset;
}

/* =========================================
   UTILITIES
   ========================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

h2.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--tech-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    border-bottom: 1px solid var(--border-subtle);
    display: inline-block;
    padding-bottom: 10px;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Schematic Lines Background (Visual System) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(112, 180, 185, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 180, 185, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   BUTTONS & CTAs
   ========================================= */
.cta-button {
    background: transparent;
    color: var(--cyan-accent);
    border: 1px solid var(--cyan-accent);
    padding: 12px 24px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: var(--radius-sharp);
}

.cta-button:hover {
    color: var(--bg-primary);
    background: var(--cyan-accent);
    box-shadow: 0 0 20px rgba(50, 198, 144, 0.5);
}

.cta-button.huge {
    font-size: 1.2rem;
    padding: 20px 40px;
}

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 26, 29, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--tech-gray);
    letter-spacing: 0.05em;
}

.tech-cloud-icon { color: var(--cyan-accent); }

.desktop-nav {
    display: flex;
    gap: 40px;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    overflow: hidden;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18,26,29,0.7) 0%, rgba(18,26,29,1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.05;
}

.hero-title.scramble-text {
    /* Scramble placeholder styling */
    white-space: pre-wrap;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* =========================================
   SOCIAL PROOF (Marquee)
   ========================================= */
.social-proof {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 0;
    background: var(--bg-primary);
}

.section-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-muted);
    margin-bottom: 30px;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.proof-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 40px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.proof-logo:hover { opacity: 1; color: var(--tech-gray); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   STICKY STACK (Core Benefits)
   ========================================= */
.sticky-stack-narrative .section-container {
    padding: 0 24px; /* ScrollTrigger handles spacing */
    max-width: 1400px;
}

.sticky-wrapper {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
}

.sticky-left {
    width: 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 100px 40px 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-left .section-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    border-bottom: none;
}

.sticky-left .section-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.sticky-right {
    width: 60%;
    padding-top: 100vh; /* Pushes the first card to start at bottom */
    padding-bottom: 100vh; /* So scrollTrigger has room */
}

.stack-card {
    background: rgba(18, 26, 29, 0.95);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    margin-bottom: 50vh;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
}

.card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s;
}

.stack-card:hover .card-image img {
    filter: grayscale(0%) contrast(1.1);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.8rem;
    color: var(--cyan-accent);
    margin-bottom: 1rem;
    font-weight: 400;
}

/* =========================================
   MEDIA SHOWCASE
   ========================================= */
.mockup-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(50, 198, 144, 0.3);
    position: relative;
    z-index: 2;
    background: #000;
}

.glow-border {
    box-shadow: 0 0 40px rgba(50, 198, 144, 0.15);
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.3;
}

.glowing-orb.cyan {
    top: -50px; left: -50px;
    width: 300px; height: 300px;
    background: var(--cyan-accent);
}

.glowing-orb.teal {
    bottom: -50px; right: -50px;
    width: 400px; height: 400px;
    background: var(--teal-muted);
}

/* =========================================
   TESTIMONIALS (Spotlight Cards)
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.spotlight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

/* Spotlight effect handled via JS and these classes */
.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(50, 198, 144, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.spotlight-card:hover::before { opacity: 1; }

.spotlight-card .quote {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--tech-gray);
    margin-bottom: 20px;
}

.spotlight-card .author {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.spotlight-card .name {
    color: var(--cyan-accent);
    font-weight: 600;
}

.spotlight-card .role {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.flex-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-header { width: 30%; }
.faq-accordion-container { width: 70%; }

.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--tech-gray);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-align: left;
    transition: color 0.3s;
}

.accordion-header:hover { color: var(--cyan-accent); }
.accordion-header.active { color: var(--cyan-accent); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    padding-bottom: 24px;
    color: var(--text-muted);
}

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta {
    padding: 150px 24px;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.cta-glow-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(50, 198, 144, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.text-stack {
    position: relative;
    z-index: 1;
}

.massive-title {
    font-size: clamp(3rem, 8vw, 8rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: #0d1214; /* Slightly darker than obsidian */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-links h4 {
    color: var(--cyan-accent);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: rgba(225, 227, 226, 0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .flex-row, .sticky-wrapper {
        flex-direction: column;
    }
    .faq-header, .faq-accordion-container, .sticky-left, .sticky-right {
        width: 100%;
    }
    .sticky-left { padding: 40px 0; }
    .sticky-right { padding: 40px 0; }
    .stack-card { margin-bottom: 40px; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .desktop-nav { display: none; }
}
