/* ==========================================================================
   SOPHON AI - MASTER DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Cyber Slate, Vibrant Cyan & Purple Glow, Premium Glassmorphism
   ========================================================================== */

:root {
    --bg-dark: #090a0d;
    --bg-card: rgba(18, 19, 26, 0.7);
    --bg-card-hover: rgba(32, 33, 44, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(226, 184, 107, 0.35);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Gold Brand Affiliated Colors */
    --accent-cyan: #e2b86b; /* Warm Champagne Gold */
    --accent-gold: #f4d084;
    --accent-purple: #d4a34b; /* Metallic Gold */
    --accent-violet: #b8860b; /* Amber Gold */
    --accent-green: #34d399;
    --accent-warning: #fbbf24;

    --gradient-primary: linear-gradient(135deg, #f4d084 0%, #d4a34b 50%, #b8860b 100%);
    --gradient-alt: linear-gradient(135deg, #f4d084 0%, #e2b86b 50%, #34d399 100%);
    --gradient-card: linear-gradient(180deg, rgba(28, 29, 40, 0.5) 0%, rgba(12, 13, 18, 0.75) 100%);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --shadow-glow: 0 0 35px rgba(226, 184, 107, 0.22);
    --shadow-glow-purple: 0 0 45px rgba(212, 163, 75, 0.25);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Background Ambient FX */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -2;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(226, 184, 107, 0.14);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(184, 134, 11, 0.12);
    top: 40%;
    right: -100px;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -1;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: var(--gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--accent-cyan);
}

.text-center { text-align: center; }
.text-success { color: var(--accent-green); }
.text-accent { color: var(--accent-cyan); }
.text-warning { color: var(--accent-warning); }

.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-highlight);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(56, 189, 248, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border-color);
    padding: 0.8rem 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 0 12px rgba(244, 208, 132, 0.45)) drop-shadow(0 0 25px rgba(226, 184, 107, 0.25));
    transition: var(--transition);
}

.brand-logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 18px rgba(244, 208, 132, 0.7)) drop-shadow(0 0 35px rgba(226, 184, 107, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Dropdown Navigation Menu */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 330px;
    background: #0d0e14;
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 0.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), var(--shadow-glow);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1100;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(226, 184, 107, 0.12);
}

.dropdown-item i {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item .item-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
}

.dropdown-item .item-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem 0;
    text-align: center;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-highlight);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    max-width: 950px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem 3rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.highlight-card {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.badge-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1.2rem;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.process-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Product Showcase Spotlight Carousel */
.erp-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(7, 9, 14, 1) 100%);
}

.spotlight-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.spotlight-tab {
    flex: 1;
    min-width: 170px;
    background: rgba(18, 19, 26, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spotlight-tab i {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.spotlight-tab:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
}

.spotlight-tab.active {
    background: rgba(32, 33, 44, 0.95);
    border-color: var(--border-highlight);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.spotlight-tab.active i {
    color: var(--accent-cyan);
}

.tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
}

.spotlight-tab.active .progress-bar {
    animation: countdown 5s linear forwards;
}

@keyframes countdown {
    from { width: 0%; }
    to { width: 100%; }
}

.erp-container-box {
    background: var(--gradient-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-glow-purple);
    backdrop-filter: blur(16px);
}

.spotlight-slide {
    display: none;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.spotlight-slide.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.erp-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.erp-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.erp-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2.2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.erp-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mockup Window UI */
.erp-preview-graphic {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-window {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.mockup-header {
    background: #111726;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-left: 0.5rem;
}

.mockup-body {
    padding: 1.5rem;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.m-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.m-label { font-size: 0.7rem; color: var(--text-dim); }
.m-val { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0.2rem 0; }
.m-sub { font-size: 0.7rem; font-weight: 600; }

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.8rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    align-items: center;
}

.table-header {
    background: transparent;
    color: var(--text-dim);
    font-weight: 600;
}

.status-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}
.status-green { background: rgba(52, 211, 153, 0.15); color: var(--accent-green); }
.status-blue { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.status-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-violet); }

.client-proof-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 3.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    background: rgba(15, 23, 42, 0.9);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.col-legacy { color: var(--text-muted); width: 35%; }
.col-sophon { width: 40%; }

.highlight-cell {
    background: rgba(56, 189, 248, 0.05);
    color: var(--text-main);
}

/* Interactive Calculator */
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.calculator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.accent-icon { color: var(--accent-cyan); }

.calc-controls {
    margin: 2rem 0;
}

input[type=range] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    accent-color: var(--accent-cyan);
}

.calc-labels {
    margin-top: 0.8rem;
    font-size: 1.1rem;
}

.calc-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
    gap: 1rem;
}

.result-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-green);
}

/* Solutions & Products Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.feature-highlight-card {
    border-color: rgba(226, 184, 107, 0.35);
    background: linear-gradient(180deg, rgba(32, 33, 44, 0.7) 0%, rgba(18, 19, 26, 0.8) 100%);
}

.card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--gradient-primary);
    color: #0b0c10;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(226, 184, 107, 0.12);
    border: 1px solid rgba(226, 184, 107, 0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1.4rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.solution-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: auto;
    transition: var(--transition);
}

.solution-card:hover .card-action {
    transform: translateX(4px);
    color: var(--accent-gold);
}

.nav-links a.active-link {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Contact Section & Form */
.contact-box {
    background: var(--gradient-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    backdrop-filter: blur(16px);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.c-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.c-detail i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

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

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

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

.form-group input, .form-group select, .form-group textarea {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    background: rgba(7, 9, 14, 0.95);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
}

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

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: var(--shadow-glow-purple);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-close:hover { color: #fff; }

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-top: 0.5rem;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-title { font-size: 2.6rem; }
    .erp-container-box, .contact-box { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .hero-metrics { flex-direction: column; gap: 1.5rem; }
    .metric-divider { display: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.1rem; }
    .mockup-stat-row { grid-template-columns: 1fr; }
}
