/* ==========================================================================
   REGAMOUNT™ - Global Stylesheet (styles.css)
   ========================================================================== */

/* ===== CSS Variables ===== */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0369a1;
    --accent: #f59e0b;
    --success: #22c55e;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-surface-2: #243447;
    --dark-border: #334155;
    --light-text: #e2e8f0;
    --muted-text: #94a3b8;
    --muted-text-2: #64748b;
    --muted-text-3: #475569;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ===== Typography Helpers ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #38bdf8, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--light-text) 0%, #38bdf8 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 1.5rem;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--muted-text);
    line-height: 1.7;
    max-width: 600px;
}

/* ===== Fade-up Animation ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Buttons ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.15);
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
    border-color: rgba(14, 165, 233, 0.5);
}

.cta-btn svg {
    width: 14px;
    height: 14px;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    cursor: pointer;
}

.cta-btn-outline:hover {
    background: rgba(14, 165, 233, 0.1);
}

/* ===== Header ===== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-wrapper.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.05);
    border-bottom-color: rgba(14, 165, 233, 0.15);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    transition: height 0.3s ease;
}

.header-wrapper.scrolled .header-inner {
    height: 64px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.2));
}

.header-wrapper.scrolled .logo-img {
    height: 44px;
}

/* Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    color: var(--muted-text);
    text-decoration: none;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--light-text);
    background: rgba(14, 165, 233, 0.05);
}

.nav-link.active {
    color: #38bdf8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Desktop CTA */
.desktop-cta {
    display: flex;
    align-items: center;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.hamburger:hover {
    background: rgba(14, 165, 233, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0c4a6e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #38bdf8;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), #38bdf8, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

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

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--muted-text-2);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
}

.float-spec {
    position: absolute;
    z-index: 3;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
    animation: floatSpec 3s ease-in-out infinite;
}

.float-spec:nth-child(2) {
    top: 15%;
    right: -10%;
}

.float-spec:nth-child(3) {
    bottom: 25%;
    left: -5%;
    animation-delay: 1s;
}

.float-spec:nth-child(4) {
    top: 60%;
    right: -15%;
    animation-delay: 2s;
}

@keyframes floatSpec {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== Product Cards (Grid) ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(14, 165, 233, 0.08);
}

.product-card-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2332, #0f172a);
    position: relative;
    overflow: hidden;
}

.product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.spec-chip {
    padding: 0.2rem 0.6rem;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--muted-text);
    font-family: 'JetBrains Mono', monospace;
}

.product-card-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.product-card-link:hover {
    gap: 0.75rem;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* ===== Industry Cards ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    padding: 1.5rem;
    text-align: center;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.industry-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(3, 105, 161, 0.05));
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    text-align: center;
    padding: 5rem 1.5rem;
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
}

/* ===== Filter Tabs ===== */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Product Detail Cards ===== */
.product-detail-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.3s;
}

.product-detail-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.product-img-section {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2332, #0f172a);
    min-height: 350px;
}

.product-info-section {
    padding: 3rem;
}

.product-model {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.product-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-desc-text {
    color: var(--muted-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ===== Spec Table ===== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.spec-table th {
    text-align: left;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--muted-text-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--dark-border);
}

.spec-table td {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.spec-table td:first-child {
    color: var(--muted-text);
}

.spec-table td:last-child {
    color: var(--light-text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

/* ===== Comparison Table ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.comparison-table th {
    background: rgba(14, 165, 233, 0.1);
    padding: 1rem;
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid var(--dark-border);
}

.comparison-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    text-align: center;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    color: var(--muted-text);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--light-text);
}

/* ===== Tags ===== */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.tag svg {
    width: 12px;
    height: 12px;
}

.tag-blue {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #38bdf8;
}

.tag-amber {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.tag-green {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.tag-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

/* ===== Contact Grid ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(14, 165, 233, 0.08);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.contact-info {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.contact-info strong {
    color: var(--light-text);
    font-weight: 600;
}

/* ===== Email Section ===== */
.email-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.email-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(3, 105, 161, 0.04) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.email-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
}

.email-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.email-item {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.3s;
}

.email-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.email-label {
    font-size: 0.8rem;
    color: var(--muted-text-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.email-address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.email-address a {
    color: var(--primary);
    text-decoration: none;
}

.email-address a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* ===== Form Elements ===== */
.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.form-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 3rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: var(--muted-text);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

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

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.75rem 1rem;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.form-select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

/* ===== Footer ===== */
.footer-main {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
    color: var(--muted-text);
    padding: 3rem 0 0;
}

.footer-link {
    color: var(--muted-text-2);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

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

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }
    .desktop-cta {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-desc {
        margin: 0 auto 2rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .header-wrapper.scrolled .logo-img {
        height: 36px;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .section {
        padding: 4rem 1rem;
    }
}