:root {
    --primary: #00d4ff;
    --dark: #0a0f1e;
    --darker: #05080f;
    --accent: #00b4d8;
    --text: #e0e7ff;
    --text-light: #a0aec0;
    --card-bg: #111827;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.menu a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #111827 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: #0a0f1e;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: #0a0f1e;
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
    color: var(--text-light);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #111827;
    min-width: 200px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 212, 255, 0.15);
    z-index: 200;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    background: transparent;
    border: 0;
    padding: 0.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0f1e;
        padding: 1rem;
        border-top: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
        gap: 0;
    }
    
    .menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* Logo styling */
.logo img {
    height: 48px;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

/* Logo size override */
.logo img {
    height: 64px !important;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 56px !important;
    }
}

/* Scalable SVG Logo */
.logo img {
    height: 64px;
    width: auto;
    max-width: none;
}

@media (max-width: 768px) {
    .logo img {
        height: 56px;
    }
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 95%;
    width: auto;
    max-height: 72px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        max-height: 64px;
    }
}

/* Separate logo icon and text sizing */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 72px;
    width: auto;
}

.logo-text {
    height: 52px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-icon {
        height: 60px;
    }
    .logo-text {
        height: 44px;
    }
    .logo {
        gap: 8px;
    }
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 50%;
}

/* Icon - 30% wider than square proportion */
.logo-icon {
    height: 72px;
    width: auto;
    aspect-ratio: 1.3 / 1;        /* 30% wider */
    object-fit: contain;
}

/* Text styling */
.logo-text {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.logo-text .scan {
    color: #ffffff;
}

.logo-text .review {
    color: #00d4ff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo {
        max-width: 50%;
        gap: 6px;
    }
    
    .logo-icon {
        height: 56px;
    }
    
    .logo-text {
        font-size: 28px;
    }
}

/* Header logo responsive override — deployed 20260703224459
   Keep the WebP logo proportional and at 90% of the header height. */
nav {
    --scanreview-header-height: clamp(64px, 8vw, 96px);
    padding: 0;
}

nav .nav-container {
    min-height: var(--scanreview-header-height);
}

.logo {
    height: var(--scanreview-header-height);
    max-width: min(58vw, 520px);
    gap: clamp(6px, 1.4vw, 12px);
    flex-shrink: 1;
}

.logo img.logo-icon,
.logo-icon {
    height: calc(var(--scanreview-header-height) * 0.9) !important;
    width: auto !important;
    max-height: none !important;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
    display: block;
}


@media (max-width: 768px) {
    nav {
        --scanreview-header-height: clamp(56px, 14vw, 72px);
    }

    .logo {
        max-width: min(72vw, 360px);
    }
}

/* Header wordmark text alignment override — deployed 20260703225313
   Vertically center text, keep it left-aligned, and size it to 90% of header height. */
.logo-text {
    height: calc(var(--scanreview-header-height) * 0.9) !important;
    min-height: 0;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    line-height: 1;
    white-space: nowrap;
    font-size: clamp(28px, calc(var(--scanreview-header-height) * 0.48), 48px) !important;
}

.logo-text .scan,
.logo-text .review {
    display: inline-block;
    line-height: 1;
}

@media (max-width: 768px) {
    .logo-text {
        height: calc(var(--scanreview-header-height) * 0.9) !important;
        font-size: clamp(24px, calc(var(--scanreview-header-height) * 0.45), 36px) !important;
    }
}
