/* Aerbits - Aerial Detection System */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #a855f7;
    --accent-hover: #9333ea;
    --accent-secondary: #6366f1;
    --gradient: linear-gradient(135deg, #ec4899, #a855f7, #6366f1);
    --success: #10b981;
    --warning: #f59e0b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 96px;
    width: auto;
}

footer .logo img {
    height: 32px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .hero-background video {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.8) 50%, rgba(49, 46, 129, 0.75) 100%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(168, 85, 247, 0.15) 40%, transparent 70%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #f472b6, #c084fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f472b6, #c084fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floating-card.detection {
    bottom: 20%;
    left: -10%;
}

.floating-card.reduction {
    top: 10%;
    right: -5%;
}

.floating-card .icon {
    width: 48px;
    height: 48px;
    background: var(--success);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.floating-card .icon.blue {
    background: var(--accent);
}

.floating-card .info strong {
    display: block;
    color: var(--primary);
    font-size: 1.125rem;
}

.floating-card .info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: var(--primary);
    color: white;
    position: relative;
}

.problem h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.problem .subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

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

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.problem-card .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.problem-card .label {
    color: rgba(255, 255, 255, 0.8);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-alt);
    position: relative;
}

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

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

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--accent);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-card h3 {
    color: var(--primary);
    margin: 1rem 0 0.75rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Process Visualization */
.process-visualization {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.process-visualization h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.process-visualization p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

/* AI Detection Section - Instructional Style */
.ai-detection {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.instruction-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.instruction-steps::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 33%, var(--accent-secondary) 66%, var(--accent-secondary) 100%);
    z-index: 0;
}

.instruction-step {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.instruction-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.instruction-header {
    margin-bottom: 2rem;
}

.instruction-number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.instruction-step h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instruction-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.instruction-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.instruction-step:hover .instruction-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.instruction-step:hover .instruction-image::before {
    border-color: var(--accent);
}

.instruction-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.instruction-description {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

.detection-result {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    margin-top: 4rem;
    text-align: center;
    color: white;
    font-size: 1.125rem;
    line-height: 1.8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.detection-result::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.detection-result strong {
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Backlog Solution Section */
.backlog-solution {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    position: relative;
}

.backlog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.backlog-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.backlog-header .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

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

.backlog-proof-section,
.backlog-stats-section {
    display: flex;
    align-items: stretch;
}

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

.backlog-point {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.point-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.point-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.backlog-proof-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.proof-image-wrapper {
    position: relative;
}

.proof-image {
    width: 100%;
    height: auto;
    display: block;
}

.proof-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.proof-caption {
    padding: 1.5rem;
}

.proof-caption h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.proof-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.proof-caption p strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.proof-action {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--success) !important;
    font-weight: 500 !important;
}

.backlog-stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}

.backlog-stats-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-of-type {
    border-bottom: none;
}

.stat-row.highlight {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.stat-value {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.stat-row.highlight .stat-value {
    color: var(--success);
}

.stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.stat-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: var(--bg);
    position: relative;
}

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

.benefit-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
}

.benefit-card:hover {
    background: var(--bg-alt);
}

.benefit-card.highlight {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(168, 85, 247, 0.2);
}

.benefit-card.highlight:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    transform: translateY(-2px);
}

.benefit-card.highlight .benefit-icon {
    background: var(--accent);
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
    width: auto;
    min-width: 56px;
    padding: 0 0.5rem;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Secondary Benefits */
.secondary-benefits {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.secondary-benefits h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.secondary-benefit {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.secondary-icon {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.secondary-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.secondary-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Case Study Section */
.case-study {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

@media (max-width: 768px) {
    .section-video-bg video {
        display: none;
    }
}

.section-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 27, 75, 0.85) 50%, rgba(49, 46, 129, 0.82) 100%);
    z-index: 1;
}

.case-study .container {
    position: relative;
    z-index: 2;
}

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

.case-study-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.case-study-text .location {
    color: #c084fc;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.case-study-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.results-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.results-highlight .big-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.results-highlight .big-stat .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--success);
}

.results-highlight .big-stat .label {
    font-size: 1.25rem;
    color: white;
}

.results-highlight .detail {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.case-study-visual {
    position: relative;
}

.timeline-visual {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.timeline-visual h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item .date {
    width: 100px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.timeline-item .count {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    width: 60px;
}

.timeline-item .count.success {
    color: var(--success);
}

.timeline-item .note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta .btn-primary:hover {
    background: var(--bg-alt);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--primary);
    color: white;
    position: relative;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .instruction-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .backlog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .backlog-points {
        grid-template-columns: 1fr;
    }

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

    .secondary-benefits-grid {
        grid-template-columns: 1fr;
    }

    .case-study-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat {
        text-align: center;
    }

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

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

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

    .detection-arrow {
        margin: 1rem 0;
    }
}

/* Page Header (for articles/press pages) */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Articles List */
.articles-list {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.article-card .article-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.article-card h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.article-card h2 a {
    color: inherit;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: var(--accent);
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-card .read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.article-card .read-more:hover {
    text-decoration: underline;
}

/* Article Page */
.article-page {
    padding: 8rem 0 4rem;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.article-header .back-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.article-header .back-link:hover {
    text-decoration: underline;
}

.article-header time {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-header .article-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

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

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text);
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--accent);
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content .code-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.article-content .code-block p {
    margin-bottom: 1rem;
}

.article-content .code-block ul {
    margin-bottom: 0;
}

/* Press Section */
.press-section {
    padding: 4rem 0;
}

.press-section.alt-bg {
    background: var(--bg-alt);
}

.press-section .section-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.press-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.press-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.press-card .press-meta {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.press-card h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.press-card h3 a {
    color: inherit;
    text-decoration: none;
}

.press-card h3 a:hover {
    color: var(--accent);
}

.press-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.press-card .press-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.press-card .press-link:hover {
    text-decoration: underline;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .articles-grid,
    .press-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-page {
        padding: 6rem 0 3rem;
    }
}
