/* ============================================================
   style.css — Airditors Media Index Page
   Design system matches AIRO page aesthetic
   ============================================================ */

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

:root {
    --gold: #f4b400;
    --orange: #ff8a00;
    --bg: #0a0a0a;
    --bg-2: #0d0d0d;
    --border: rgba(255,255,255,0.07);
    --border-gold: rgba(244,180,0,0.2);
    --text-dim: #888;
    --text-mid: #ccc;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: #fff;
    overflow-x: hidden;
}

/* ============================================================
   SHARED TYPOGRAPHY
   ============================================================ */
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title span {
    background: linear-gradient(90deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), var(--orange));
    color: #000;
    padding: 15px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(244,180,0,0.4);
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 15px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 10% 80px;
    overflow: hidden;
    background: var(--bg);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.55) 1.2px, transparent 1px),
        radial-gradient(ellipse at 50% 30%, rgba(244,180,0,0.20) 0%, rgba(255,138,0,0.08) 25%, transparent 60%);
    background-size: 5px 5px, auto;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,180,0,0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hero-pulse 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes hero-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

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

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 200;
    line-height: 1.1;
    max-width: 1000px;
    margin: 0 auto 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mid);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero-visual {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 80px rgba(244,180,0,0.1), 0 40px 80px rgba(0,0,0,0.6);
    background: rgba(255,255,255,0.02);
    padding: 8px;
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}

/* Logo slider */
.slider-section {
    width: 100%;
    max-width: 900px;
    margin: 60px auto 0;
}

.slider-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 500;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 2;
}

.logo-slider::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logo-slider::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.logo-track {
    display: flex;
    gap: 80px;
    animation: scroll-logos 20s linear infinite;
    align-items: center;
}

.logo-track img {
    height: 36px;
    width: auto;
    filter: grayscale(100%) brightness(0.35);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-track img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 48px;
    font-weight: 200;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ============================================================
   WHY EDITING
   ============================================================ */
.why-section {
    padding: 120px 10%;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.why-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.55) 1.2px, transparent 1px),
        radial-gradient(ellipse at 20% 50%, rgba(244,180,0,0.07) 0%, transparent 50%);
    background-size: 5px 5px, auto;
    pointer-events: none;
}

.why-section > * { position: relative; z-index: 1; }

.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.why-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    background: rgba(255,255,255,0.05);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
}

.why-card-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(748%) hue-rotate(1deg) brightness(102%);
    transition: transform 0.3s ease;
}

.why-card:hover .why-card-icon img { transform: scale(1.1); }

.why-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    padding: 120px 10%;
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.55) 1.2px, transparent 1px),
        radial-gradient(ellipse at 80% 50%, rgba(244,180,0,0.07) 0%, transparent 50%);
    background-size: 5px 5px, auto;
    pointer-events: none;
}

.services-section > * { position: relative; z-index: 1; }

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 22px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(244,180,0,0.06);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ============================================================
   TOOLS
   ============================================================ */
.tools-section {
    padding: 120px 10%;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.tools-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.55) 1.2px, transparent 1px),
        radial-gradient(ellipse at 50% 100%, rgba(244,180,0,0.06) 0%, transparent 55%);
    background-size: 5px 5px, auto;
    pointer-events: none;
}

.tools-section > * { position: relative; z-index: 1; }

.tools-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.tool-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    background: rgba(255,255,255,0.05);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tool-header img { width: 38px; height: 38px; }

.tool-header h3 {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
}

.tool-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.65;
}

.cta-card {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(244,180,0,0.08) 0%, rgba(10,10,10,1) 70%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-card h2 {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 300;
    max-width: 65%;
    line-height: 1.35;
    color: #fff;
}

.cta-card-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.contact-circle {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotate-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin 10s linear infinite;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon {
    font-size: 22px;
    font-style: normal;
    z-index: 1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {

    /* HERO */
    .hero { padding: 120px 6% 70px; min-height: auto; }
    .hero-eyebrow { font-size: 10px; letter-spacing: 2px; }
    .hero-title { font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.5px; }
    .hero-sub { font-size: 15px; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-primary, .btn-ghost { width: 100%; max-width: 320px; text-align: center; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 12px; padding: 7px 14px; }
    .hero-image-frame { padding: 5px; }
    .slider-section { margin-top: 40px; }
    .logo-track { gap: 50px; }
    .logo-track img { height: 28px; }

    /* STATS */
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 40px 6%; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 10px; }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .stat-number { font-size: 36px; }

    /* WHY */
    .why-section { padding: 80px 6%; }
    .why-header { margin-bottom: 40px; }
    .why-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-card { padding: 24px 18px; }
    .why-card h3 { font-size: 16px; }
    .why-card p { font-size: 13px; }

    /* SERVICES */
    .services-section { padding: 80px 6%; }
    .services-header { margin-bottom: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-card { padding: 22px 16px; }
    .service-card h3 { font-size: 14px; }
    .service-card p { font-size: 12px; }

    /* TOOLS */
    .tools-section { padding: 80px 6%; }
    .tools-header { margin-bottom: 40px; }
    .tools-grid { grid-template-columns: 1fr; gap: 14px; }
    .tool-card { padding: 24px; }
    .cta-card {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
        align-items: center;
    }
    .cta-card h2 { max-width: 100%; font-size: 18px; }
    .cta-card-action { align-items: center; }

    /* Typography */
    .section-title { font-size: clamp(24px, 6vw, 34px); }
    .section-sub { font-size: 14px; }
    .why-header, .services-header, .tools-header { margin-bottom: 40px; }
}

/* TABLET */
@media (min-width: 481px) and (max-width: 768px) {
    .why-cards { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-column: span 2; }
}

/* SMALL MOBILE */
@media (max-width: 420px) {
    .why-cards { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .btn-primary, .btn-ghost { max-width: 100%; }
}
