/* Skeuomorphic Hero Section */
.hero {
    min-height: calc(100vh - 88px);
    padding: 82px 0 90px;
    background: transparent;
    color: var(--text-ink);
    display: flex;
    align-items: center;
    overflow: visible;
    perspective: 1100px;
}

.hero-content {
    text-align: start;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

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

.hero-kicker {
    margin-bottom: 25px;
    color: var(--text-muted);
    font: 600 11px/1.2 var(--font-mono);
    letter-spacing: .15em;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--bg-surface);
    box-shadow: var(--shadow-inset);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-line);
}

.hero-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.hero h1 {
    margin: 0;
    padding: 0.1em 0 0.05em;
    font-family: var(--font-logo-title);
    font-weight: 700;
    color: var(--text-ink);
    font-size: clamp(62px, 8.2vw, 112px);
    line-height: 1.05;
    letter-spacing: -.01em;
    background: linear-gradient(135deg, var(--text-ink) 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.12));
    transition: all 0.3s ease;
    overflow: visible;
}

[data-theme="dark"] .hero h1 {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.25));
}

.hero .subtitle {
    margin: 34px 0 8px;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    color: var(--text-ink);
}

.hero .tagline {
    max-width: 570px;
    margin: 0 0 38px;
    color: var(--text-muted);
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

/* Tactile 3D Physical Push Buttons */
.cta-button {
    padding: 0 28px;
    min-height: 54px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    user-select: none;
}

.cta-primary {
    color: #ffffff;
    background: linear-gradient(145deg, #0284c7, #0369a1);
    box-shadow: 6px 6px 14px var(--shadow-dark), -2px -2px 6px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary {
    color: var(--text-ink);
    background: var(--bg-surface);
    box-shadow: var(--shadow-drop);
    border: 1px solid var(--border-line);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 20px var(--shadow-dark), 0 0 15px var(--accent-glow);
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-drop-hover);
    color: var(--accent-cyan);
}

.cta-primary:active, .cta-secondary:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-pressed);
}

/* Tactile Hardware Console Instrument */
.hero-console {
    min-height: 540px;
    padding: 30px;
    border: 1px solid var(--border-line);
    border-radius: 34px;
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-drop);
    --rx: 0deg;
    --ry: 0deg;
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .16s ease-out, box-shadow .3s ease;
    animation: consoleBoot .9s .18s both;
}

.hero-console:hover {
    box-shadow: var(--shadow-drop-hover), 0 0 25px var(--accent-glow);
}

.console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font: 600 10px "IBM Plex Mono", monospace;
    letter-spacing: .12em;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-inset);
}

.console-signal {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.console-signal i {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    transform-origin: bottom;
    animation: signal 1.25s ease-in-out infinite alternate;
}

.console-signal i:nth-child(1) { height: 6px; animation-delay: -.3s; }
.console-signal i:nth-child(2) { height: 10px; animation-delay: -.7s; }
.console-signal i:nth-child(3) { height: 14px; animation-delay: -1s; }

/* 3D Carved Dial Bezel */
.console-dial {
    width: min(360px, 82%);
    aspect-ratio: 1;
    margin: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-inset);
    position: relative;
    transform: translateZ(24px);
    background: var(--bg-surface);
}

.console-dial::after {
    content: "";
    position: absolute;
    inset: 7%;
    border: 2px dashed var(--border-line);
    border-radius: 50%;
    animation: dialSpin 38s linear infinite;
}

.console-core {
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    box-shadow: var(--shadow-drop);
    border: 1px solid var(--border-line);
    position: relative;
    z-index: 1;
    transition: transform .25s ease;
}

.console-core:hover {
    transform: scale(1.03);
}

.hero-brand-logo {
    width: 67%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.hero-brand-logo--dark { display: none; }
.hero-brand-logo--light { display: block; }

[data-theme="dark"] .hero-brand-logo--light { display: none; }
[data-theme="dark"] .hero-brand-logo--dark { display: block; }

.console-core span {
    margin-top: 11px;
    color: var(--text-muted);
    font: 600 8px "IBM Plex Mono", monospace;
    letter-spacing: .1em;
}

.console-bottom {
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-inset);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font: 600 9px "IBM Plex Mono", monospace;
    transform: translateZ(12px);
}

/* Stats Banner */
.stats-banner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 130px;
    background: transparent;
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    min-height: 160px;
    padding: 30px;
    color: var(--text-ink);
    text-align: start;
    border: 1px solid var(--border-line);
    border-radius: 22px;
    background: var(--bg-surface);
    box-shadow: var(--shadow-drop);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-drop-hover);
}

.stat-number {
    color: var(--text-ink);
    font: 700 52px/1 "IBM Plex Mono", monospace;
    letter-spacing: -.07em;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.stat-label {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* General Sections & Headings */
.section {
    padding: 130px 0;
    border-top: 1px solid var(--border-line);
    background: transparent !important;
}

.section-title {
    margin: 0 0 65px;
    color: var(--text-ink) !important;
    text-align: start;
    font-size: clamp(43px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -.055em;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.section-title::before { content: attr(data-section-label); display: block; margin-bottom: 30px; color: var(--text-muted); font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .12em; }

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

/* Skeuomorphic Neumorphic 3D Card Tiles */
.card {
    min-height: 220px;
    padding: 34px;
    border: 1px solid var(--border-line);
    border-radius: 24px;
    background: var(--bg-surface);
    box-shadow: var(--shadow-drop);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-drop-hover);
}

.card:active {
    transform: translateY(0);
    box-shadow: var(--shadow-pressed);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 28px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--bg-surface);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-inset);
    font-size: 26px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.06) rotate(3deg);
    color: var(--accent-cyan);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--text-ink);
    font-size: 22px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Skeuomorphic Workflow Timeline Cards */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.workflow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-line);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow-drop);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-drop-hover);
}

.workflow-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-ink);
}

.workflow-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Skeuomorphic FAQ Accordion List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 920px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-line);
    border-radius: 20px;
    padding: 26px 32px;
    box-shadow: var(--shadow-drop);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-drop-hover);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-ink);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-question::before {
    content: '?';
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-drop);
    font-size: 15px;
    font-weight: 700;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-right: 46px;
}

html[lang="en"] .faq-answer, html[lang="ku"] .faq-answer {
    padding-right: 0;
    padding-left: 46px;
}

/* Skeuomorphic Hardware ROI Calculator Instrument */
.calculator-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-line);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-drop);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-ink);
}

.calc-val-badge {
    font: 700 16px "IBM Plex Mono", monospace;
    color: #ffffff;
    background: var(--accent-cyan);
    padding: 4px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow-drop);
}

/* Carved Physical Slider Track & Metallic Thumb */
.calc-slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--bg-surface);
    box-shadow: var(--shadow-inset);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent-cyan);
    box-shadow: var(--shadow-drop), 0 0 10px var(--accent-cyan);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Recessed Metallic Digital Nixie Display Box */
.calc-results {
    background: var(--panel-dark-bg);
    color: #ffffff;
    padding: 38px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--panel-dark-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-res-title {
    font-size: 12px;
    color: #64748b;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: .12em;
}

.calc-res-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calc-res-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.calc-res-num {
    font: 700 36px "IBM Plex Mono", monospace;
    color: var(--accent-cyan);
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.calc-res-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Skeuomorphic Contact Section & Form */
.contact {
    padding: 100px 0 120px;
    background: transparent;
}

.contact-content {
    max-width: 1240px;
    padding: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    background: var(--panel-dark-bg);
    color: #ffffff;
    box-shadow: var(--panel-dark-shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

.contact h2 {
    margin-bottom: 14px;
    font-size: clamp(45px, 6vw, 76px);
    line-height: .95;
    letter-spacing: -.055em;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact p.contact-desc {
    margin-bottom: 40px;
    color: #94a3b8;
    font-size: 17px;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
}

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

/* Inset Carved Input Fields */
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.5), inset -2px -2px 4px rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select option {
    background: #0f172a;
    color: #ffffff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent-glow);
}

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

.contact-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.contact-item {
    padding: 24px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    text-align: center;
    color: #f8fafc;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-cyan);
}

.contact-icon {
    margin-bottom: 14px;
    color: var(--accent-cyan);
    font-size: 24px;
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    padding: 36px 0;
    color: var(--text-ink);
    background: transparent;
    border-top: 1px solid var(--border-line);
    font-size: 11px;
    letter-spacing: .06em;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-brand {
    width: 35px;
    height: auto;
}

.footer-brand--dark { display: none; }
.footer-brand--light { display: block; }

[data-theme="dark"] .footer-brand--light { display: none; }
[data-theme="dark"] .footer-brand--dark { display: block; }

/* Responsive Media Queries */
@media(max-width:960px){
    header{top:10px;margin-top:10px}
    .nav-links{display:none}
    .mobile-toggle{display:inline-flex}
    .hero{min-height:auto;padding-top:105px}
    .hero-content{grid-template-columns:1fr;gap:65px}
    .hero-console{min-height:480px;max-width:620px;width:100%}
    .workflow-grid{grid-template-columns:repeat(2,1fr)}
    .calculator-container{grid-template-columns:1fr;gap:35px}
    .contact-info{grid-template-columns:repeat(2,1fr)}
    .form-row{grid-template-columns:1fr}
}
@media(max-width:620px){
    .container,header,.stats-banner{width:calc(100% - 28px)}
    header{height:62px;padding:0 11px;border-radius:15px}
    .nav-controls{gap:6px}
    .lang-btn{padding:6px 8px}
    .hero{padding:80px 0 65px}
    .hero h1{font-size:58px}
    .hero .subtitle{font-size:19px}
    .hero-console{min-height:410px;padding:20px;border-radius:22px}
    .stats-banner{padding-bottom:90px}
    .stats-content,.grid,.workflow-grid{grid-template-columns:1fr}
    .stat-item{min-height:125px}
    .section{padding:90px 0}
    .section-title{margin-bottom:45px}
    .card{min-height:200px}
    .calculator-container{padding:25px}
    .calc-res-grid{grid-template-columns:1fr}
    .contact{padding:70px 0 90px}
    .contact-content{width:calc(100% - 28px);padding:45px 20px;border-radius:22px}
    .contact h2{font-size:42px}
    .contact-info{grid-template-columns:1fr;margin-top:34px}
    .scroll-top{right:14px;bottom:14px}
}

/* Keyframes */
@keyframes consoleBoot{from{opacity:0;filter:blur(10px)}to{opacity:1;filter:blur(0)}}
@keyframes dialSpin{to{transform:rotate(360deg)}}
@keyframes signal{from{transform:scaleY(.45);opacity:.45}to{transform:scaleY(1);opacity:1}}

.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-form label { color: #f1f5f9; font-size: 14px; }
.contact-note { color: #cbd5e1; font-size: 14px; line-height: 1.8; }
.calc-assumptions { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.calc-res-num { overflow-wrap: anywhere; }
.hero-copy, .calc-results, .calc-inputs { min-width: 0; }

.calc-assumptions { color: #cbd5e1; }
