/* ═══════════════════════════════════════════════
   CIERICORP TECHNOLOGY — Corporate Site
   Pure CSS, no external dependencies
   ═══════════════════════════════════════════════ */

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

:root {
    --bg:          #09090b;
    --bg-card:     #111113;
    --bg-card-alt: #16161a;
    --border:      rgba(255,255,255,.06);
    --border-h:    rgba(255,255,255,.12);
    --text:        #fafafa;
    --text-sec:    #a1a1aa;
    --text-muted:  #71717a;
    --accent:      #4fc3f7;
    --accent2:     #ab47bc;
    --gradient:    linear-gradient(135deg, #4fc3f7, #ab47bc);
    --radius:      12px;
    --radius-lg:   20px;
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-w:       1140px;
    --transition:  .25s cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #81d4fa; }

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

::selection { background: rgba(79,195,247,.25); color: #fff; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--text-sec); }

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

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

section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }

/* ── Navigation ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(9,9,11,.85);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.1rem; color: var(--text);
}
.navbar-brand:hover { color: var(--text); }
.navbar-brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    color: var(--text-sec); font-size: .875rem; font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: center; justify-content: flex-start;
        gap: 0; padding: 24px 0; background: rgba(9,9,11,.97);
        backdrop-filter: blur(16px);
        transform: translateX(100%);
        transition: transform .35s ease;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.1rem; padding: 14px 0; }
}

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 64px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -50%; left: -30%; width: 80%; height: 120%;
    background: radial-gradient(ellipse at center, rgba(79,195,247,.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; top: 10%; right: -20%; width: 60%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(171,71,188,.04) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; margin-bottom: 32px; max-width: 560px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; font-size: .75rem; font-weight: 600;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50px; color: var(--text-sec);
    text-transform: uppercase; letter-spacing: .04em;
}
.badge svg { width: 14px; height: 14px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: var(--gradient);
    color: #fff; font-weight: 600; font-size: .9rem;
    border: none; border-radius: 50px; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79,195,247,.2);
    color: #fff;
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--border-h); color: var(--text-sec);
    font-weight: 500; font-size: .9rem;
    border-radius: 50px; cursor: pointer;
    transition: all var(--transition);
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Product Showcase ── */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative; overflow: hidden;
    transition: border-color var(--transition);
}
.product-card:hover { border-color: var(--border-h); }
.product-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient);
    opacity: 0; transition: opacity var(--transition);
}
.product-card:hover::before { opacity: 1; }

.product-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,195,247,.12), rgba(171,71,188,.08));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.product-icon svg { width: 26px; height: 26px; color: var(--accent); }
.product-tag {
    font-size: .7rem; font-weight: 600; text-transform: uppercase;
    color: var(--accent); letter-spacing: .06em; margin-top: 4px;
}

.product-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-top: 24px;
    list-style: none;
}
.product-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .85rem; color: var(--text-sec);
}
.product-features li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 640px) {
    .product-features { grid-template-columns: 1fr; }
}

/* ── Services Grid ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.service-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--bg-card-alt); display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.service-card-icon svg { width: 20px; height: 20px; color: var(--accent); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .875rem; }

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ── About / Stats ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 16px; }

.stats-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-number { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Footer ── */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { margin-top: 12px; font-size: .85rem; max-width: 300px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-sec); font-size: .875rem; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-muted); transition: color var(--transition); }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── Legal Pages ── */
.legal-hero {
    padding: 120px 0 48px;
    text-align: center;
}
.legal-hero p { margin-top: 12px; }

.legal-content {
    max-width: 800px; margin: 0 auto;
    padding: 0 24px 80px;
}
.legal-content h2 {
    font-size: 1.35rem; margin-top: 48px; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.05rem; margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.legal-content p { margin-bottom: 14px; font-size: .92rem; line-height: 1.75; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 14px; }
.legal-content li { color: var(--text-sec); font-size: .92rem; line-height: 1.75; margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }
.legal-date { font-size: .8rem; color: var(--text-muted); margin-top: 8px; }

/* ── Support Page ── */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.support-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: border-color var(--transition);
}
.support-card:hover { border-color: var(--border-h); }
.support-card h3 { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.support-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.support-card p { font-size: .875rem; }
.support-card .support-link { display: inline-block; margin-top: 12px; font-weight: 500; font-size: .875rem; }

@media (max-width: 640px) {
    .support-grid { grid-template-columns: 1fr; }
}

/* ── Delete Account Page ── */
.steps-list { list-style: none; counter-reset: step; margin-top: 24px; }
.steps-list li {
    counter-increment: step;
    padding: 16px 20px 16px 56px; position: relative;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px;
    font-size: .92rem; color: var(--text-sec);
}
.steps-list li::before {
    content: counter(step);
    position: absolute; left: 16px; top: 16px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gradient);
    color: #fff; font-size: .8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

.warning-box {
    background: rgba(239,68,68,.06);
    border: 1px solid rgba(239,68,68,.15);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
}
.warning-box h4 { color: #f87171; font-size: .95rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.warning-box p { font-size: .875rem; color: var(--text-sec); }

.info-box {
    background: rgba(79,195,247,.05);
    border: 1px solid rgba(79,195,247,.12);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
}
.info-box h4 { color: var(--accent); font-size: .95rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-box p { font-size: .875rem; color: var(--text-sec); }

/* ── Section Headers ── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .08em; color: var(--accent); margin-bottom: 12px;
}
.section-label svg { width: 16px; height: 16px; }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
