/* -------------------------------------------------------------
   G-SOFT stylesheet - 2026 Modern Design Concept
   Author: Antigravity AI Coding Assistant
   ------------------------------------------------------------- */

/* Google Fonts Import is in HTML, here we specify variables */
:root {
    /* Color Tokens - Dark Mode (Default) */
    --bg-main: #0b0f19;
    --bg-header: rgba(15, 22, 38, 0.7);
    --bg-card: rgba(22, 33, 56, 0.4);
    --bg-card-hover: rgba(30, 45, 75, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(0, 242, 254, 0.3);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-cyan: #00f2fe;
    --accent-violet: #4facfe;
    --accent-red: #ff3366;
    --accent-green: #00e676;
    --accent-orange: #ff9100;
    
    --glow-cyan: rgba(0, 242, 254, 0.15);
    --glow-violet: rgba(79, 172, 254, 0.15);
    
    --gradient-primary: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
    --gradient-hover: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    
    /* Layout Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-width: 1200px;
    --header-height: 80px;
}

/* Light Theme overrides */
body.light-theme {
    --bg-main: #f0f4f8;
    --bg-header: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-hover: rgba(79, 172, 254, 0.4);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --glow-cyan: rgba(0, 242, 254, 0.08);
    --glow-violet: rgba(79, 172, 254, 0.08);
    
    --bg-glow-1: rgba(0, 242, 254, 0.1);
    --bg-glow-2: rgba(79, 172, 254, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    background: linear-gradient(135deg, #070913 0%, #0d1225 50%, #05060f 100%);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

main {
    padding-top: 120px;
}

body.light-theme {
    background: linear-gradient(135deg, #e4ebf2 0%, #f0f4f8 50%, #dee7f0 100%);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button, select, input, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Background glows wrapper to prevent mobile overflow */
.bg-glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -10;
    pointer-events: none;
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-glow-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Icon style */
.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Top bar styles */
.top-bar {
    background-color: rgba(7, 10, 19, 0.9);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a:hover {
    color: var(--accent-cyan);
}

/* Main Header */
.main-header {
    position: fixed;
    top: 40px; /* starts below top bar on desktop */
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 990; /* high enough, but below mobile menu */
    transition: top 0.3s ease, background-color var(--transition-normal), box-shadow 0.3s ease;
}

.main-header.scrolled {
    top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background-color: rgba(7, 10, 19, 0.85); /* slightly darker solid background when scrolled */
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.02);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--text-primary);
}

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

.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.dark-theme .icon-sun {
    display: block;
}
body.dark-theme .icon-moon {
    display: none;
}
body.light-theme .icon-sun {
    display: none;
}
body.light-theme .icon-moon {
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 8px 30px var(--glow-cyan);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 242, 254, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background-color: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-block:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 120px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.2);
    color: var(--accent-violet);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

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

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1.2;
}

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

.icon-arrow {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* Floating tech dashboard (2026 Hero Visual) */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-dashboard {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: floatDashboard 6s ease-in-out infinite;
}

.dashboard-header {
    background-color: rgba(7, 10, 19, 0.4);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dash-dot.red { background-color: #ff5f56; }
.dash-dot.yellow { background-color: #ffbd2e; }
.dash-dot.green { background-color: #27c93f; }

.dash-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
    font-family: monospace;
}

.dashboard-body {
    padding: 24px;
    font-family: monospace;
    font-size: 0.85rem;
}

.dash-line {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.dash-line .cyan { color: var(--accent-cyan); }
.dash-line.green { color: var(--accent-green); }

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    margin: 24px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 15px var(--glow-cyan);
    animation: pulseBar 2s ease-in-out infinite alternate;
}

.dash-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 16px;
}

.glow-indicator {
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.glow-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* Animations */
@keyframes floatDashboard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseBar {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

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

.section-header .subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

/* Services Section Styling (Interactive Tabs) */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px var(--glow-cyan);
}

.tab-panel {
    display: none;
    animation: fadeInTab 0.5s ease-in-out forwards;
}

.tab-panel.active {
    display: block;
}

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

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tab-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-info .lead {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 28px;
}

.service-list {
    list-style: none;
    margin-bottom: 36px;
}

.service-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--gradient-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
}

.panel-actions {
    display: flex;
    gap: 16px;
}

/* Graphics inside tabs */
.tab-graphic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.benefit-box {
    display: flex;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast);
}

.benefit-box:hover {
    border-color: var(--accent-cyan);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.benefit-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Apple and GSM layout specifics */
.apple-specs-card {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent), var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.apple-specs-card::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 10rem;
    opacity: 0.04;
    color: var(--text-primary);
}

.apple-specs-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.gps-repair-card {
    background-color: rgba(255, 145, 0, 0.05);
    border: 1px solid rgba(255, 145, 0, 0.15);
    border-radius: var(--border-radius-md);
    padding: 32px;
    color: var(--text-primary);
}

.gps-repair-card h4 {
    font-family: var(--font-heading);
    color: var(--accent-orange);
    margin-bottom: 12px;
}

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

.recovery-status-display {
    background-color: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.pulse-red {
    display: inline-block;
    color: var(--accent-red);
    font-family: monospace;
    font-weight: 700;
    margin-bottom: 12px;
    animation: flashText 1.5s infinite;
}

@keyframes flashText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.seo-performance-card {
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent-green);
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
}

.seo-performance-card h4 {
    margin-bottom: 8px;
}

/* Calculator Section */
.calculator-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

/* Styles for selects to ensure appearance in dark/light */
select.form-control option {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.calc-free-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-tag-free {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge-free {
    background-color: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.result-glass-box {
    background-color: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.result-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.1;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-time {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.result-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* Software Custom Section */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.software-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: all var(--transition-fast);
}

.software-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px var(--glow-cyan);
}

.software-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.software-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.software-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tech-stack {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.software-card .desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.soft-features {
    list-style: none;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.soft-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.soft-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    top: -2px;
}

.clients-list {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
}

.software-cta {
    display: flex;
    justify-content: center;
}

.software-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 800px;
}

.software-cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.software-cta-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide {
    min-width: 100%;
    padding: 0 10px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.review-meta {
    flex-grow: 1;
}

.review-meta h4 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-stars {
    color: #ffb300;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.review-source {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Carousel Nav */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-prev, .carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.carousel-prev:hover, .carousel-next:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    background-color: rgba(0, 242, 254, 0.05);
}

.carousel-prev svg, .carousel-next svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--accent-cyan);
}

/* Contact Section & Map styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form textarea.form-control {
    resize: none;
}

.form-security-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* Info Details Card */
.info-details-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    margin-bottom: 24px;
}

.info-details-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.info-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

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

.info-text a:hover {
    text-decoration: underline;
}

.navigation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.nav-btn {
    padding: 14px;
    font-size: 0.88rem;
}

.map-frame-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    line-height: 0;
}

/* Footer Section */
.main-footer {
    background-color: rgba(7, 10, 19, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 16px;
}

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

.footer-about p {
    margin-bottom: 24px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    background-color: rgba(0, 242, 254, 0.05);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-contact p {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* -------------------------------------------------------------
   Media Queries (Responsive Layouts)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile to save vertical space */
    }
    
    .main-header {
        top: 0; /* no top-bar on mobile, starts at top: 0 */
    }
    
    main {
        padding-top: 70px; /* offset for mobile fixed header height */
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Navigation Mobile Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-main);
        border-top: 1px solid var(--border-color);
        padding: 40px 24px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        z-index: 999;
        visibility: hidden;
    }

    /* Padding adjustments to fit screens better */
    .tab-grid {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .contact-form-container {
        padding: 24px 16px;
    }
    
    .review-card {
        padding: 24px 16px;
    }
    
    .calculator-card {
        padding: 24px 16px;
    }
    
    .result-glass-box {
        padding: 20px 12px;
    }

    .sticky-whatsapp {
        bottom: 85px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    
    .sticky-whatsapp svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-menu.active {
        left: 0;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .panel-actions {
        flex-direction: column;
    }
    
    .navigation-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        width: 100%;
    }

    /* Extra padding reduction for mobile screens (under 480px) */
    .tab-grid {
        padding: 16px 12px;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 20px 12px;
    }
    
    .review-card {
        padding: 20px 12px;
    }
    
    .calculator-card {
        padding: 20px 12px;
    }
    
    .result-glass-box {
        padding: 16px 8px;
    }
    
    .software-card {
        padding: 20px 16px;
    }
    
    .software-cta-box {
        padding: 24px 16px;
    }
}

/* =============================================================
   Sticky Buttons Styles (WhatsApp & Scroll to Top)
   ============================================================= */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 995;
    transition: all var(--transition-fast);
}

.sticky-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.sticky-whatsapp svg {
    width: 32px;
    height: 32px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--glow-cyan);
    z-index: 995;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
}

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

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Adjust size on smaller mobile screens */
@media (max-width: 480px) {
    .sticky-whatsapp {
        bottom: 85px;
        left: 20px;
        width: 50px;
        height: 50px;
        z-index: 995;
    }
    
    .sticky-whatsapp svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 20px;
        width: 44px;
        height: 44px;
        z-index: 995;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* =============================================================
   Modals Styles (Cookie & GDPR)
   ============================================================= */
.gsoft-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gsoft-modal.show {
    display: flex;
    opacity: 1;
}

.gsoft-modal-content {
    background: rgba(22, 28, 45, 0.98);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius-lg);
    max-width: 650px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-30px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.gsoft-modal.show .gsoft-modal-content {
    transform: translateY(0);
}

body.light-theme .gsoft-modal-content {
    background: rgba(255, 255, 255, 0.98);
    color: #222222;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gsoft-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.gsoft-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
}

.gsoft-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-fast);
}

.gsoft-modal-close:hover {
    color: #ff4d4d;
}

.gsoft-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: 70vh;
    font-size: 0.95rem;
    line-height: 1.6;
}

.gsoft-modal-body p {
    margin-bottom: 16px;
}

.gsoft-modal-body strong {
    font-weight: 700;
    color: var(--text-primary);
}

body.light-theme .gsoft-modal-body strong {
    color: #000000;
}

.gsoft-modal-body ul {
    margin-left: 24px;
    margin-bottom: 16px;
    list-style-type: square;
}

.gsoft-modal-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

body.light-theme .gsoft-modal-body li {
    color: #444444;
}

.gsoft-modal-body a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

body.light-theme .gsoft-modal-body a {
    color: #0072ff;
}

