@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-dark: #050510;
    --bg-card: rgba(15, 20, 35, 0.7);
    --bg-card-solid: #0d1220;
    --bg-nav: rgba(8, 10, 25, 0.85);
    --text-primary: #f0f0f5;
    --text-secondary: #8899aa;
    --accent: #d4a017;
    --accent-light: #f5c842;
    --accent-hover: #e8b320;
    --accent-gradient: linear-gradient(135deg, #d4a017, #f5c842);
    --accent-glow: rgba(212, 160, 23, 0.15);
    --border: rgba(212, 160, 23, 0.15);
    --border-card: rgba(255, 255, 255, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: #020100;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, .nav-brand {
    font-family: 'Outfit', sans-serif;
}

/* ===== BACKGROUND ===== */
.bg-gradient {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at top right, rgba(138, 79, 14, 0.35) 0%, rgba(56, 30, 5, 0.15) 40%, transparent 75%);
    z-index: -3;
}

.bg-glow-1 {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.2;
    animation: aurora-shift 10s infinite alternate ease-in-out;
}

@keyframes aurora-shift {
    0% {
        background: rgba(255, 150, 20, 0.7);
        transform: scale(1) translate(0, 0);
    }
    33% {
        background: rgba(40, 255, 180, 0.7);
        transform: scale(1.1) translate(-5%, 5%);
    }
    66% {
        background: rgba(180, 60, 255, 0.75);
        transform: scale(0.9) translate(5%, -5%);
    }
    100% {
        background: rgba(50, 160, 255, 0.7);
        transform: scale(1.2) translate(0, 5%);
    }
}

.bg-glow-2 {
    display: none;
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0a0a0a;
    border: none;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212, 160, 23, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(212, 160, 23, 0.4);
}
.btn-outline:hover {
    background: rgba(212, 160, 23, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo { height: 38px; width: auto; }

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.25s;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--accent);
}

.nav-links .btn-outline {
    padding: 8px 22px;
    font-size: 0.88rem;
    border-radius: 8px;
}

/* ===== HERO ===== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 2rem 80px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.hero-bg-waves {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge svg {
    width: 16px; height: 16px;
    fill: var(--accent);
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; }

/* Dashboard Mockup */
.hero-mockup {
    position: relative;
}

.hero-mockup img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212, 160, 23, 0.05);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 50px 40px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.welcome-section h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.welcome-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== FEATURES GRID ===== */
.features {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 2rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 36px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.35s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 160, 23, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 60px; height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 160, 23, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.06);
}

.feature-icon svg {
    width: 26px; height: 26px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== AUTOMATION SECTION ===== */
.automation-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 2rem;
}

.automation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
}

.automation-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.automation-images img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.automation-content h2 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 600;
}

.automation-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.check-list li svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
}

.check-icon { stroke: #22c55e; fill: none; }
.shield-check-icon { stroke: var(--accent); fill: none; }

/* ===== RELIABILITY SECTION ===== */
.reliability-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 2rem;
}

.reliability-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 40px;
}

.reliability-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 700;
}

.reliability-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.reliability-list {
    list-style: none;
}

.reliability-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.reliability-list li svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    stroke: var(--accent);
    fill: none;
}

.reliability-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.reliability-image img {
    max-width: 360px;
    width: 100%;
    filter: drop-shadow(0 0 40px rgba(212, 160, 23, 0.15));
}

/* ===== STATS BAR ===== */
.stats-bar {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border-card);
}
.stat-item:last-child { border-right: none; }

.stat-icon {
    margin-bottom: 8px;
}
.stat-icon svg {
    width: 28px; height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid rgba(255,255,255,0.04);
    background: #030308;
    padding: 36px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo { height: 28px; }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ===== INNER PAGE STYLES ===== */
.page-header {
    max-width: 1200px;
    margin: 140px auto 50px;
    padding: 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.page-header p, header.text-center p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
}

header.text-center h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.content-section {
    max-width: 850px;
    margin: 0 auto 80px;
    padding: 0 2rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 18px;
    color: var(--accent);
}

.article-body h3 {
    font-size: 1.35rem;
    margin: 28px 0 14px;
}

.article-body p {
    font-size: 1.02rem;
    margin-bottom: 18px;
    color: #b0bcc8;
}

.article-body ul, .article-body ol {
    margin-left: 20px;
    margin-bottom: 18px;
    font-size: 1.02rem;
    color: #b0bcc8;
}

.article-body li { margin-bottom: 8px; }

.article-image {
    width: 100%;
    border-radius: 14px;
    margin: 28px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 18px;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(212, 160, 23, 0.2); }

.faq-item h3 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-card);
    padding: 40px;
    border-radius: 18px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 120px;
    }
    .hero-cta { justify-content: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-badge { margin: 0 auto 28px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .automation-card { grid-template-columns: 1fr; }
    .reliability-card { grid-template-columns: 1fr; text-align: center; }
    .reliability-content { order: 1; }
    .reliability-image { order: 2; }
    .reliability-list { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.4rem; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border-card); }
    .welcome-section { margin: 40px 1rem; padding: 30px 24px; }
    .footer-content { flex-direction: column; gap: 18px; }
    .page-header h1, header.text-center h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-card); }
    .stat-item:last-child { border-bottom: none; }
}
