/* ================================================================
   Antigravity — Landing Page Styles
   Dark neon theme with glassmorphism
   ================================================================ */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #07080f;
    --bg-secondary: #0c0e1a;
    --bg-card: rgba(14, 17, 35, 0.6);
    --bg-card-hover: rgba(20, 24, 50, 0.8);

    --text-primary: #e8eaf0;
    --text-secondary: #8b91a8;
    --text-muted: #555b73;

    --accent-cyan: #00e5ff;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;

    --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 229, 255, 0.15);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    touch-action: pan-y;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---- Particle Canvas ---- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Container ---- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 8, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-weight: 400;
}

.logo-highlight {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px !important;
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    color: var(--accent-cyan) !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg-layers {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    will-change: transform;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 0.2;
}

.hero-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    bottom: -150px;
    left: -100px;
    opacity: 0.15;
}

.hero-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    will-change: transform;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-glow);
    background: rgba(0, 229, 255, 0.05);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.morph-wrapper {
    display: inline-flex;
    align-items: center;
}

.morph-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s;
}

.morph-cursor {
    color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
    -webkit-text-fill-color: initial;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #07080f;
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* ================================================================
   SECTIONS — Common
   ================================================================ */
.section {
    position: relative;
    padding: var(--section-padding);
    z-index: 1;
    overflow: hidden;
}

.section-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.section-glow--left {
    background: var(--accent-purple);
    left: -200px;
    top: 20%;
}

.section-glow--right {
    background: var(--accent-cyan);
    right: -200px;
    top: 30%;
}

.section-glow--center {
    background: var(--accent-blue);
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    will-change: transform;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================================
   ADVANTAGES
   ================================================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s var(--ease-out);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.advantage-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.06);
}

.advantage-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    transition: all 0.3s var(--ease-out);
}

.advantage-card:hover .card-icon {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing-comparison {
    display: flex;
    align-items: stretch;
    gap: 24px;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    max-width: 420px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    will-change: transform;
    transition: transform 0.4s var(--ease-out);
}

.pricing-card--competitor {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.pricing-card--ours {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(168, 85, 247, 0.06));
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.05);
}

.pricing-card--ours:hover {
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.08);
    transform: translateY(-4px);
}

.pricing-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-vs span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.pricing-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pricing-label--accent {
    color: var(--accent-cyan);
}

.pricing-logos {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-cost {
    margin-bottom: 32px;
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-card--ours .pricing-amount {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-feature--negative .feature-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pricing-feature--negative {
    color: var(--text-secondary);
}

.pricing-feature--positive .feature-icon {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.pricing-total {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-total-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-total-amount {
    font-size: 1.25rem;
    font-weight: 700;
}

.pricing-total--accent .pricing-total-amount {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.pricing-card--competitor .pricing-total-amount {
    color: #ef4444;
}

.pricing-footnote {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================
   CASES
   ================================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.case-card--placeholder {
    background: var(--bg-card);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    min-height: 280px;
}

.case-placeholder-icon {
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 16px;
}

.case-placeholder-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
    padding-bottom: 80px;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.contact-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.contact-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
    background: rgba(0, 229, 255, 0.02);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal */
.advantage-card,
.pricing-card,
.case-card,
.contact-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.advantage-card.visible,
.pricing-card.visible,
.case-card.visible,
.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger */
.advantage-card:nth-child(1) {
    transition-delay: 0s;
}

.advantage-card:nth-child(2) {
    transition-delay: 0.08s;
}

.advantage-card:nth-child(3) {
    transition-delay: 0.16s;
}

.advantage-card:nth-child(4) {
    transition-delay: 0.24s;
}

.advantage-card:nth-child(5) {
    transition-delay: 0.32s;
}

.advantage-card:nth-child(6) {
    transition-delay: 0.4s;
}

.pricing-card:nth-child(1) {
    transition-delay: 0s;
}

.pricing-card:nth-child(3) {
    transition-delay: 0.12s;
}

.case-card:nth-child(1) {
    transition-delay: 0s;
}

.case-card:nth-child(2) {
    transition-delay: 0.08s;
}

.case-card:nth-child(3) {
    transition-delay: 0.16s;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-comparison {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 500px;
        width: 100%;
    }

    .pricing-vs {
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 8, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-burger {
        display: flex;
        z-index: 101;
    }

    .nav-burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-burger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .advantages-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .pricing-amount {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ================================================================
   AI AUDIT
   ================================================================ */
.audit-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.5;
}

.audit-input-row {
    display: flex;
    gap: 12px;
}

.audit-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.audit-input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.audit-input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.audit-input::placeholder {
    color: var(--text-muted);
}

.audit-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.audit-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.hidden {
    display: none !important;
}

/* Scanning phase */
.audit-scanning-url {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    word-break: break-all;
    text-align: center;
}

.audit-checks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audit-check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    opacity: 0.3;
    transition: all 0.4s var(--ease-out);
}

.audit-check.active {
    opacity: 1;
    background: rgba(0, 229, 255, 0.03);
    border-color: rgba(0, 229, 255, 0.1);
}

.audit-check.done {
    opacity: 1;
}

.check-icon-wrap {
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 229, 255, 0.15);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.audit-check.active .check-spinner {
    display: block;
}

.audit-check.done .check-spinner {
    display: none;
}

.check-done-icon {
    display: none;
    color: #10b981;
}

.audit-check.done .check-done-icon {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.check-info {
    flex: 1;
    min-width: 0;
}

.check-label {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.check-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.check-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: width 1.2s var(--ease-out);
}

.audit-check.active .check-bar-fill {
    width: 60%;
}

.audit-check.done .check-bar-fill {
    width: 100%;
}

.check-result {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
}

.audit-check.done .check-result {
    color: #f97316;
}

/* Result phase */
.audit-report {
    margin-bottom: 32px;
}

.report-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.report-score-ring {
    width: 90px;
    height: 90px;
    position: relative;
    flex-shrink: 0;
}

.score-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle {
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    color: #f97316;
}

.report-summary {
    flex: 1;
}

.report-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.report-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.report-issues {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.report-issue {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.4s var(--ease-out) both;
}

.report-issue .issue-icon {
    color: #ef4444;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.report-issue--good {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.15);
}

.report-solution {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.solution-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.solution-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--accent-cyan);
}

.solution-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Telegram form */
.audit-telegram-form {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.telegram-form-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
}

.audit-retry-link {
    display: block;
    margin: 20px auto 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font);
    cursor: pointer;
    transition: color 0.3s;
}

.audit-retry-link:hover {
    color: var(--accent-cyan);
}

/* Responsive audit */
@media (max-width: 768px) {
    .audit-card {
        padding: 24px;
    }

    .audit-input-row {
        flex-direction: column;
    }

    .report-header {
        flex-direction: column;
        text-align: center;
    }
}