/* ===== CSS Variables ===== */
:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #6d28d9;
    --color-primary-light: #a78bfa;
    --color-secondary: #5b7fff;
    --color-accent: #7c3aed;
    --color-accent-light: #a78bfa;
    --color-text: #ffffff;
    --color-text-light: #a0a0b0;
    --color-white: #ffffff;
    --color-bg: #13111d;
    --color-bg-card: #1e1b2e;
    --color-bg-input: #2d2a3e;
    --color-bg-elevated: #252238;
    --color-gray-50: #1e1b2e;
    --color-gray-100: #252238;
    --color-gray-200: #3d3752;
    --color-gray-800: #ffffff;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-800);
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: var(--color-accent-light);
}

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

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

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

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

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.logo-sub {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 3px;
    margin-top: 2px;
}

.navbar.scrolled .logo-text {
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.5px;
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--color-white);
}

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

.nav-menu a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--color-accent);
    color: var(--color-white) !important;
    border-radius: 6px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    background: var(--color-accent-light);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--color-bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 12px 0;
    margin-top: 12px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-bg-card);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-white) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--color-bg);
    color: var(--color-accent) !important;
}

.dropdown-menu a::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--color-white);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #13111d 0%, #1e1b2e 40%, #2d1b69 80%, #7c3aed 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge svg {
    flex-shrink: 0;
}

/* Gradient fade (replaces Alaska mountain SVG) */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(5px, 5px); }
}

/* ===== Stats Section ===== */
.stats {
    background-color: var(--color-bg-card);
    padding: 50px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-icon {
    color: var(--color-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.section-header.light h2 {
    color: var(--color-white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.section-header.light .section-tag {
    color: var(--color-accent);
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 24px;
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-white);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature span {
    font-weight: 600;
    color: var(--color-gray-800);
    font-size: 14px;
}

/* Dashboard Preview */
.about-image {
    position: relative;
}

.dashboard-preview {
    background: var(--color-gray-800);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:first-child { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:last-child { background: #28c840; }

.dashboard-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.dashboard-content {
    display: flex;
    padding: 16px;
    gap: 12px;
    min-height: 220px;
}

.dashboard-screenshot {
    padding: 0;
    display: block;
}

.dashboard-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 12px 12px;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 40px;
}

.sidebar-item {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.sidebar-item.active {
    background: var(--color-accent);
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px;
}

.card-header {
    height: 10px;
    width: 35%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 16px;
}

.card-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: 3px 3px 0 0;
    opacity: 0.9;
}

.dashboard-metrics {
    display: flex;
    gap: 10px;
}

.metric-card {
    flex: 1;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* ===== Solutions Section ===== */
.solutions {
    padding: 80px 0;
    background-color: var(--color-bg-card);
}

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

.solution-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 28px 24px;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.solution-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 10px;
    color: var(--color-white);
    margin-bottom: 18px;
}

.solution-card h3 {
    font-size: 1.125rem;
    color: var(--color-gray-800);
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Standards Section */
.standards-section {
    margin: 50px 0 40px;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.standards-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-gray-800);
    margin-bottom: 32px;
    font-weight: 600;
}

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

.standard-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-gray-100);
    transition: var(--transition);
}

.standard-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.standard-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 8px;
    color: var(--color-white);
    flex-shrink: 0;
}

.standard-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.standard-content strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-800);
}

.standard-content span {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.compliance-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: var(--color-bg);
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compliance-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compliance-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ===== FieldFuze Section ===== */
.fieldfuze {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e1b2e 0%, #2d1b69 50%, #7c3aed 100%);
}

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

.fieldfuze-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 28px 24px;
    transition: var(--transition);
}

.fieldfuze-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.fieldfuze-feature h3 {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.fieldfuze-feature p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.fieldfuze-cta {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.fieldfuze-cta h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.fieldfuze-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    background: linear-gradient(135deg, #1e1b2e 0%, #2d1b69 50%, #7c3aed 100%);
    border-color: transparent;
}

.service-card.featured * {
    color: var(--color-white);
}

.service-card.featured .service-list li::before {
    background-color: var(--color-accent-light);
}

.service-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 14px;
    color: var(--color-gray-800);
}

.service-card.featured h3 {
    color: var(--color-white);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.85);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--color-text);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* ===== Approach Section ===== */
.approach {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e1b2e 0%, #2d1b69 50%, #7c3aed 100%);
}

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

.approach-step {
    text-align: center;
    padding: 28px 20px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 14px;
}

.approach-step h3 {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.approach-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta {
    padding: 70px 0;
    background-color: var(--color-bg-card);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.cta p {
    color: var(--color-text-light);
    margin-bottom: 28px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 10px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--color-gray-800);
    margin-bottom: 2px;
    font-size: 14px;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 15px;
}

.contact-links {
    margin-top: 24px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background-color: var(--color-bg-card);
    border-radius: 14px;
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    background-color: var(--color-bg-input);
    color: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

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

/* ===== Footer ===== */
.footer {
    background-color: #0d0b14;
    padding: 60px 0 32px;
}

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

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 14px;
    font-size: 14px;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

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

.footer-tagline a:hover {
    color: var(--color-white);
}

/* Hidden SEO Links - crawlable but invisible */
.seo-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seo-links a {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Login Button ===== */
.btn-login {
    padding: 10px 24px;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    transition: var(--transition);
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    background: var(--color-primary-light);
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, #e94e9a, #7c5ce7, #5b7fff, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Video Section ===== */
.video-section {
    padding: 80px 0;
    background-color: var(--color-bg-card);
}
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-200);
}
.video-wrapper video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
    display: block;
}

/* ===== Integrations Bar ===== */
.integrations-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px;
    flex-wrap: wrap;
}
.integrations-bar img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}
.integrations-bar img:hover {
    opacity: 1;
}

/* ===== Pricing Highlight ===== */
.price-hero {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e94e9a, #7c5ce7, #5b7fff, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 16px 0;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 80px 0;
    background-color: var(--color-bg);
}
.screenshots-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.screenshots-grid > .screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Phone Mockups */
.phone-mockups {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}
.phone-frame {
    background: #1a1a2e;
    border: 2px solid #333;
    border-radius: 24px;
    padding: 3px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 32%;
}
.phone-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 21px;
}
.phone-mockups .phone-frame:nth-child(2) {
    transform: translateY(-20px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

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

    .compliance-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

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

    .standards-section {
        padding: 30px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 32px 40px;
        background-color: var(--color-bg-card);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        color: var(--color-white) !important;
        padding: 16px 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .nav-menu a::after {
        display: none !important;
    }

    .btn-nav {
        margin-top: 16px;
        text-align: center;
        display: block;
        width: 100%;
    }

    .hero-content {
        padding: 100px 0 80px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .about-image {
        order: -1;
    }

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

    .compliance-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

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

    .standards-section {
        padding: 24px;
        margin: 40px 0 30px;
    }

    .standards-title {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

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

    .phone-mockups {
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .phone-frame {
        border-radius: 24px;
        padding: 6px;
        border-width: 2px;
    }

    .phone-frame img {
        border-radius: 18px;
    }

    .integrations-bar {
        gap: 30px;
    }

    .price-hero {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ===== Blog Post Styles ===== */
.blog-hero {
    background: linear-gradient(135deg, #13111d 0%, #1e1b2e 40%, #2d1b69 80%, #7c3aed 100%);
    padding: 140px 0 80px;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.blog-hero .section-tag {
    color: var(--color-accent);
}

.blog-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--color-white);
    margin: 16px 0 24px;
    line-height: 1.15;
}

.blog-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.blog-meta-item svg {
    opacity: 0.7;
}

.blog-content {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.blog-content .container {
    max-width: 800px;
}

.blog-content h2 {
    font-size: 1.875rem;
    color: var(--color-gray-800);
    margin: 56px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.blog-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.blog-content h3 {
    font-size: 1.375rem;
    color: var(--color-primary);
    margin: 40px 0 16px;
}

.blog-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.blog-content strong {
    color: var(--color-gray-800);
}

.blog-content ul, .blog-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.blog-content li {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1.0625rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 24px 28px;
    margin: 32px 0;
    background: var(--color-bg-card);
    border-radius: 0 12px 12px 0;
}

.blog-content blockquote p {
    font-style: italic;
    color: var(--color-primary-light);
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Blog Highlight Box */
.blog-highlight {
    background: linear-gradient(135deg, #1e1b2e 0%, #2d1b69 50%, #7c3aed 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    color: var(--color-white);
}

.blog-highlight h3 {
    color: var(--color-white);
    margin-top: 0;
    font-size: 1.5rem;
}

.blog-highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.blog-highlight .price-zero {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin: 16px 0;
}

/* Blog Comparison Table */
.blog-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.blog-table th {
    background: var(--color-bg-elevated);
    color: var(--color-white);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-gray-200);
    color: var(--color-text);
}

.blog-table tr:last-child td {
    border-bottom: none;
}

.blog-table tr:nth-child(even) {
    background: var(--color-bg-card);
}

.blog-table .feature-name {
    font-weight: 600;
    color: var(--color-gray-800);
}

.blog-table .yes {
    color: #10b981;
    font-weight: 600;
}

.blog-table .no {
    color: #ef4444;
}

.blog-table .highlight-cell {
    background: rgba(124, 58, 237, 0.15);
    font-weight: 700;
    color: var(--color-accent);
}

/* Blog CTA Box */
.blog-cta {
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    padding: 48px;
    margin: 48px 0;
    text-align: center;
}

.blog-cta h3 {
    color: var(--color-white);
    margin-top: 0;
    font-size: 1.75rem;
}

.blog-cta p {
    max-width: 500px;
    margin: 0 auto 24px;
}

.blog-cta .btn {
    font-size: 18px;
    padding: 18px 48px;
}

/* Blog Pain Points List */
.pain-points {
    background: rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.pain-points h3 {
    color: #dc2626;
    margin-top: 0;
}

.pain-points ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.pain-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.pain-points li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Blog Benefits List */
.benefits-list {
    background: rgba(16, 185, 129, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.benefits-list h3 {
    color: #059669;
    margin-top: 0;
}

.benefits-list ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.benefits-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Blog Math Box */
.math-box {
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    color: var(--color-white);
}

.math-box h3 {
    color: var(--color-white);
    margin-top: 0;
    font-size: 1.25rem;
}

.math-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
}

.math-row:last-child {
    border-bottom: none;
}

.math-row.total {
    font-weight: 700;
    font-size: 1.25rem;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid var(--color-accent);
    border-bottom: none;
}

.math-row .label {
    color: rgba(255,255,255,0.8);
}

.math-row .value {
    font-weight: 600;
}

.math-row .value.green {
    color: #10b981;
}

.math-row .value.red {
    color: #f87171;
}

/* Blog Images */
.blog-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
}

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

.blog-image figcaption {
    background: var(--color-bg-card);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-text-light);
    text-align: center;
    border-top: 1px solid var(--color-gray-200);
}

.blog-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.blog-image-grid .blog-image {
    margin: 0;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-image-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero h1 {
        font-size: 1.75rem;
    }

    .blog-content {
        padding: 60px 0;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-highlight {
        padding: 28px;
    }

    .blog-highlight .price-zero {
        font-size: 3rem;
    }

    .blog-cta {
        padding: 32px 24px;
    }

    .blog-table {
        font-size: 14px;
    }

    .blog-table th,
    .blog-table td {
        padding: 12px 14px;
    }
}
