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

:root {
    /* Base Colors - Navy #2c3e50 + blue accent #3498db */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --accent: #3498db;
    --accent-hover: #2980b9;
    --dark-navy: #2c3e50;
    --border: #e9ecef;
    --card-shadow: 0 10px 40px rgba(44, 62, 80, 0.08);
    --glass: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --success: #27ae60;
}

[data-theme="dark"] {
    --bg-primary: #1a252f;
    --bg-secondary: #2c3e50;
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --accent: #3498db;
    --accent-hover: #5dade2;
    --border: #3e4f5f;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.4);
    --glass: rgba(26, 37, 47, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.text-muted { color: var(--text-secondary); }
.text-success { color: var(--success) !important; }
.small { font-size: 0.875rem; }
.fw-bold { font-weight: 700; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.6rem;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
}

[data-theme="dark"] .logo {
    color: white;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* --- Hamburger --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
}

.mobile-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

.mobile-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* --- Controls --- */
.control-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.lang-btn {
    width: auto;
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- Buttons --- */
.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background-color: white;
    border: 2px solid var(--border);
    color: var(--dark-navy);
}

[data-theme="dark"] .btn-secondary {
    background-color: var(--bg-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--bg-primary);
    border-color: var(--accent);
}

.btn.success {
    background-color: var(--success) !important;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

/* --- Hero Section --- */
.hero {
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    margin-bottom: 1.8rem;
    border-radius: 24px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .hero-content h1 { color: white; }

.hero-content h1 span {
    color: var(--accent);
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-content .hero-note {
    font-size: 0.85rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
    opacity: 0.85;
}

.cta-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

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

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

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

/* --- Hero dashboard mockup (pure CSS, no image dependency) --- */
.dash-mock {
    position: relative;
    z-index: 1;
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.18);
    overflow: hidden;
    font-family: 'Sora', sans-serif;
}

.dash-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.3rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.dash-dots {
    display: flex;
    gap: 5px;
}

.dash-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff6b6b;
    display: block;
}

.dash-dots i:nth-child(2) { background: #feca57; }
.dash-dots i:nth-child(3) { background: #1dd1a1; }

.dash-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    background: rgba(39, 174, 96, 0.12);
    color: var(--success);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.dash-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.75); }
}

.dash-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.dash-stat {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

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

.dash-stat strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--dark-navy);
}

[data-theme="dark"] .dash-stat strong { color: white; }

.dash-stat em {
    font-size: 0.62rem;
    font-style: normal;
    color: var(--success);
}

.dash-chart {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.dash-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.dash-chart-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-chart-legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    display: block;
}

.bars {
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
}

.bar {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
}

.bar i {
    display: block;
    width: 100%;
    height: var(--h);
    min-height: 4px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(52,152,219,0.25) 100%);
}

.bar:last-child i {
    background: linear-gradient(180deg, #1dd1a1 0%, rgba(29,209,161,0.25) 100%);
}

.bar span {
    font-size: 0.58rem;
    color: var(--text-secondary);
}

.dash-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.dash-zones,
.dash-alert {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
}

.dash-zones > span {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-primary);
}

.heat {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 15px);
    gap: 3px;
    margin-top: 0.6rem;
}

.heat i {
    display: block;
    border-radius: 3px;
    background: rgba(52, 152, 219, var(--o));
}

.heat i:nth-child(6),
.heat i:nth-child(7) {
    background: rgba(255, 118, 117, var(--o));
}

.dash-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.dash-alert > i {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(52, 152, 219, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.dash-alert strong {
    display: block;
    font-size: 0.72rem;
    color: var(--text-primary);
}

.dash-alert span {
    display: block;
    font-size: 0.62rem;
    color: var(--text-secondary);
}

.dash-float {
    position: absolute;
    right: -15px;
    bottom: 45px;
    z-index: 2;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    box-shadow: var(--card-shadow);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.dash-float i { color: var(--accent); }

/* --- Features Section --- */
.features {
    padding: 10rem 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .section-header h2 { color: white; }

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem;
    border-radius: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-shadow);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .feature-card h3 { color: white; }

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

/* --- Niches Section --- */
.niches {
    padding: 10rem 0;
    background: var(--bg-primary);
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.niche-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.niche-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent);
}

.niche-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.niche-card:hover .niche-icon {
    background: var(--accent);
    color: white;
}

.niche-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .niche-card h3 { color: white; }

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

/* --- Pricing Section --- */
.pricing {
    padding: 10rem 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    border-radius: 28px;
    /* Keep visible: the featured badge sits at top:-18px and would be clipped
       by overflow:hidden. .pricing-inner owns the rounded corners itself. */
    overflow: visible;
}

.pricing-card.featured {
    position: relative;
}

.pricing-inner {
    padding: 3.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    border-radius: 28px;
    transition: var(--transition);
}

.pricing-card.featured .pricing-inner {
    border: 2px solid var(--accent);
}

.pricing-card:hover .pricing-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    z-index: 1;
}

.pricing-card h3 sup {
    font-size: 0.6em;
    color: var(--accent);
    vertical-align: super;
}

.pricing-note {
    max-width: 820px;
    margin: 2.5rem auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
}

.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* --- FAQ Section --- */
.faq {
    padding: 10rem 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow);
}

.faq-item h4 {
    color: var(--accent);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact {
    padding: 10rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .contact-info h2 { color: white; }

.contact-info h2 span {
    color: var(--accent);
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.contact-form-main h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .contact-form-main h3 { color: white; }

.contact-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form-main input,
.contact-form-main textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-main input:focus,
.contact-form-main textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

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

/* --- Footer --- */
footer {
    padding: 5rem 0 3rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.footer-links h6,
.footer-contact h6 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact a:hover {
    color: var(--accent);
}

footer hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Shared section kicker --- */
.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* --- Trust band --- */
.trust {
    padding: 3.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-item > i {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.trust-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.trust-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Detections --- */
.detect {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

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

.detect-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.detect-chip i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
}

.detect-chip:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow);
}

.detect-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Industries / tabs --- */
.industry-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.industry-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.4rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.industry-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.industry-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
}

.industry-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--card-shadow);
}

.industry-panel[hidden] {
    display: none;
}

.industry-copy h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .industry-copy h3 { color: white; }

.industry-copy > p {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.75;
}

.detect-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.2rem;
}

.detect-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.detect-list i {
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Industry scan visual - pure CSS */
.industry-visual {
    display: flex;
    justify-content: center;
}

.scan-frame {
    width: 100%;
    max-width: 520px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.scan-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
}

.scan-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

.scan-live {
    margin-left: auto;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--success);
}

.scan-view {
    position: relative;
    height: 280px;
    background:
        linear-gradient(135deg, rgba(52,152,219,0.07), rgba(52,152,219,0)),
        repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(52,152,219,0.06) 29px),
        var(--bg-secondary);
    overflow: hidden;
}

.scan-box {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 6px;
    box-shadow: 0 0 0 9999px rgba(44, 62, 80, 0.06);
    animation: scanpulse 3s ease-in-out infinite;
}

.scan-box::before,
.scan-box::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--accent);
    border-style: solid;
}

.scan-box::before {
    top: -3px; left: -3px;
    border-width: 3px 0 0 3px;
}

.scan-box::after {
    bottom: -3px; right: -3px;
    border-width: 0 3px 3px 0;
}

.box-a { top: 22%; left: 16%; width: 78px; height: 120px; }
.box-b { top: 35%; left: 48%; width: 66px; height: 105px; animation-delay: 0.6s; }
.box-c { top: 18%; left: 74%; width: 54px; height: 92px; animation-delay: 1.2s; }

@keyframes scanpulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.scan-tag {
    position: absolute;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

.scan-tag i { display: none; }

.tag-a { top: calc(22% - 28px); left: 16%; }
.tag-b { top: calc(35% - 28px); left: 48%; }

/* --- How it works --- */
.how {
    padding: 9rem 0;
    background: var(--bg-primary);
}

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

.step-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent);
}

.step-num {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.12;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 20px rgba(52,152,219,0.2);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .step-card h3 { color: white; }

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Platform --- */
.platform {
    padding: 9rem 0;
    background: var(--bg-secondary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
}

.platform-card:hover::after { transform: scaleX(1); }

.platform-card > i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.4rem;
    display: block;
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-navy);
}

[data-theme="dark"] .platform-card h3 { color: white; }

.platform-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* --- Animations --- */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 900; /* below the nav (1000) and full-screen mobile menu (999) */
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition), opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.5);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--accent-hover);
    outline-offset: 3px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content p {
        margin: 0 auto 3rem;
    }
    .hero-content .hero-note {
        margin-top: 1.2rem;
    }
    .cta-group {
        justify-content: center;
    }
    .hero-image {
        max-width: 800px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industry-panel {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .btn-login {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero {
        padding: 10rem 0 5rem;
        min-height: auto;
    }
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    .features,
    .detect,
    .niches,
    .how,
    .platform,
    .pricing,
    .faq,
    .contact {
        padding: 6rem 0;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .industry-panel {
        padding: 2rem;
    }
    .section-header {
        margin-bottom: 3rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .niche-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .social-links {
        justify-content: center;
    }
    .container {
        padding: 0 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    .cta-group .btn {
        width: 100%;
    }
    .feature-card {
        padding: 2rem;
    }
    .pricing-inner {
        padding: 2.5rem;
    }
    .back-to-top {
        right: 1.2rem;
        bottom: 1.2rem;
        width: 46px;
        height: 46px;
    }
    .faq-item {
        padding: 2rem;
    }
    .contact-form-wrapper {
        padding: 2rem;
    }
    .dash-body {
        padding: 1rem;
        gap: 0.8rem;
    }
    .dash-stats {
        gap: 0.5rem;
    }
    .dash-stat {
        padding: 0.6rem;
    }
    .dash-stat strong {
        font-size: 1rem;
    }
    .dash-bottom {
        grid-template-columns: 1fr;
    }
    .dash-float {
        right: 8px;
        bottom: -18px;
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
    }
    .bars {
        height: 85px;
        gap: 0.3rem;
    }
    .detect-grid {
        grid-template-columns: 1fr;
    }
    .industry-panel {
        padding: 1.5rem;
    }
    .industry-tab {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }
    .step-card {
        padding: 2rem;
    }
    .scan-view {
        height: 200px;
    }
    .scan-box {
        transform: scale(0.8);
        transform-origin: top left;
    }
    .scan-tag {
        font-size: 0.58rem;
    }
}
