/*
 * ================================================================
 *  CodeTech SMS Platform
 * ---------------------------------------------------------------
 *  Author      : CodeTech
 *  Telegram    : @codetech9
 *  E-mail      : codetech888@gmail.com
 * ================================================================
 */
@font-face { font-family: 'DM Sans'; src: url('../fontawesome/DMSans-Regular.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'DM Sans'; src: url('../fontawesome/DMSans-Medium.woff2') format('woff2'); font-weight: 500; }
@font-face { font-family: 'DM Sans'; src: url('../fontawesome/DMSans-Light.woff2') format('woff2'); font-weight: 300; }

:root {
    --navy-950: #060d1a;
    --navy-900: #0a1628;
    --navy-800: #0f1d36;
    --navy-700: #162a4a;
    --navy-600: #1e3a64;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93bbfd;
    --blue-200: #bfdbfe;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;
    --violet-400: #a78bfa;
    --rose-400: #fb7185;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --font: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}
.header-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.logo-icon i { font-size: 16px; color: var(--white); }
.logo-text { font-size: 18px; font-weight: 500; color: var(--white); letter-spacing: -0.5px; }
.logo-text em { font-style: normal; color: var(--blue-400); }


.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-login {
    padding: 8px 20px; border-radius: 8px;
    font-size: 14px; font-weight: 500; font-family: var(--font);
    color: var(--white); background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-login:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.btn-register {
    padding: 8px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 500; font-family: var(--font);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    border: none; cursor: pointer;
    transition: all 0.2s; text-decoration: none;
    box-shadow: 0 2px 12px rgba(59,130,246,0.3);
}
.btn-register:hover { box-shadow: 0 4px 20px rgba(59,130,246,0.45); transform: translateY(-1px); }


.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 35%, var(--navy-800) 70%, var(--navy-700) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 120px 32px 100px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 80% 30%, rgba(6,182,212,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 60% 80%, rgba(139,92,246,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 1240px; width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.hero-left {}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 50px;
    font-size: 12px; color: var(--blue-300);
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--emerald-400);
    box-shadow: 0 0 8px rgba(52,211,153,0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 52px; font-weight: 500; line-height: 1.15;
    color: var(--white); letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 17px; color: rgba(255,255,255,0.55);
    line-height: 1.7; margin-bottom: 36px;
    max-width: 480px;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 12px;
    font-size: 15px; font-weight: 500; font-family: var(--font);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    border: none; cursor: pointer; text-decoration: none;
    box-shadow: 0 4px 24px rgba(59,130,246,0.35);
    transition: all 0.25s;
}
.btn-hero-primary:hover { box-shadow: 0 8px 36px rgba(59,130,246,0.5); transform: translateY(-2px); }
.btn-hero-primary i { font-size: 14px; }

.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 12px;
    font-size: 15px; font-weight: 500; font-family: var(--font);
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer; text-decoration: none;
    transition: all 0.25s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.btn-hero-secondary i { font-size: 14px; color: var(--blue-400); }


.hero-right { position: relative; display: flex; justify-content: center; }

.hero-visual {
    position: relative; width: 100%; max-width: 500px;
}

.stats-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); }
.stat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 18px;
}
.stat-icon.blue    { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.stat-icon.cyan    { background: rgba(6,182,212,0.15); color: var(--cyan-400); }
.stat-icon.emerald { background: rgba(16,185,129,0.15); color: var(--emerald-400); }
.stat-icon.violet  { background: rgba(139,92,246,0.15); color: var(--violet-400); }

.stat-number {
    font-size: 28px; font-weight: 500; color: var(--white);
    font-family: var(--mono); letter-spacing: -1px; margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.45); }

.hero-trust {
    margin-top: 48px;
    display: flex; align-items: center; gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item i { font-size: 14px; color: var(--emerald-400); }
.trust-item span { font-size: 13px; color: rgba(255,255,255,0.45); }


.section { padding: 100px 32px; }
.section-dark {
    background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
    color: var(--white);
}
.section-light { background: var(--slate-50); }
.section-white { background: var(--white); }

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

.section-header {
    text-align: center; margin-bottom: 64px;
}
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--blue-500);
    margin-bottom: 16px;
}
.section-dark .section-label { color: var(--blue-400); }

.section-title {
    font-size: 38px; font-weight: 500; letter-spacing: -1px;
    margin-bottom: 16px; line-height: 1.2;
}
.section-dark .section-title { color: var(--white); }

.section-subtitle {
    font-size: 16px; color: var(--slate-500);
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.45); }


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--blue-200); box-shadow: 0 8px 32px rgba(59,130,246,0.08); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 20px;
}
.feature-icon.fi-blue    { background: var(--blue-50);  color: var(--blue-500); }
.feature-icon.fi-cyan    { background: rgba(6,182,212,0.1);  color: var(--cyan-500); }
.feature-icon.fi-emerald { background: rgba(16,185,129,0.1); color: var(--emerald-500); }
.feature-icon.fi-amber   { background: rgba(251,191,36,0.1); color: var(--amber-400); }
.feature-icon.fi-violet  { background: rgba(139,92,246,0.1); color: var(--violet-400); }
.feature-icon.fi-rose    { background: rgba(251,113,133,0.1); color: var(--rose-400); }

.feature-title { font-size: 17px; font-weight: 500; margin-bottom: 10px; color: var(--slate-800); }
.feature-desc  { font-size: 14px; color: var(--slate-500); line-height: 1.65; }


.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: ''; position: absolute;
    top: 44px; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2), rgba(16,185,129,0.2));
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(59,130,246,0.1); border: 2px solid rgba(59,130,246,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 500; color: var(--blue-400);
    font-family: var(--mono); margin: 0 auto 20px;
}
.step-title { font-size: 16px; font-weight: 500; color: var(--slate-800); margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--slate-500); line-height: 1.6; }


.services-marquee {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}
.services-marquee::before,
.services-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.services-marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.services-marquee::after  { right: 0; background: linear-gradient(270deg, var(--white), transparent); }

.marquee-track {
    display: flex; gap: 16px;
    animation: scroll-left 35s linear infinite;
    width: max-content;
}
.track-reverse {
    animation: scroll-right 35s linear infinite;
}
.marquee-reverse { margin-top: 16px; }
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.service-chip {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    font-size: 14px; font-weight: 500; color: var(--slate-700);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.service-chip:hover { border-color: var(--blue-300); }
.service-chip i { font-size: 18px; }
.chip-tg   i { color: #229ED9; }
.chip-wa   i { color: #25D366; }
.chip-fb   i { color: #1877F2; }
.chip-ig   i { color: #E4405F; }
.chip-tw   i { color: #1DA1F2; }
.chip-gl   i { color: #EA4335; }
.chip-ms   i { color: #00A4EF; }
.chip-ap   i { color: #A2AAAD; }
.chip-dc   i { color: #5865F2; }
.chip-tt   i { color: #010101; }
.chip-li   i { color: #0A66C2; }
.chip-yt   i { color: #FF0000; }
.chip-sp   i { color: #1DB954; }
.chip-az   i { color: #FF9900; }
.chip-sc   i { color: #FFFC00; }
.chip-rd   i { color: #FF4500; }
.chip-pt   i { color: #E60023; }
.chip-sm   i { color: #1B2838; }
.chip-nf   i { color: #E50914; }
.chip-ai   i { color: #10A37F; }
.chip-wc   i { color: #07C160; }
.chip-ln   i { color: #06C755; }
.chip-ab   i { color: #FF5A5F; }
.chip-eb   i { color: #E53238; }
.chip-sh   i { color: #EE4D2D; }
.chip-ub   i { color: #000000; }
.chip-td   i { color: #FE3C72; }
.chip-gr   i { color: #414141; }


.cta-section {
    padding: 100px 32px;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%);
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 30% 50%, rgba(59,130,246,0.1), transparent),
        radial-gradient(ellipse 500px 300px at 70% 60%, rgba(6,182,212,0.08), transparent);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: 36px; font-weight: 500; color: var(--white); margin-bottom: 16px; letter-spacing: -1px; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 36px; line-height: 1.7; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-cta-large { padding: 18px 40px; font-size: 17px; border-radius: 14px; }


.site-footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 32px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-bottom {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px;
}
.footer-logo { margin-bottom: 0; }
.footer-logo .logo-icon { width: 30px; height: 30px; border-radius: 8px; }
.footer-logo .logo-icon i { font-size: 14px; }
.footer-logo .logo-text { font-size: 16px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }


@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-right { order: -1; }
    .hero h1 { font-size: 40px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; height: 60px; }
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .hero-desc { font-size: 15px; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .section { padding: 64px 20px; }
    .section-title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .cta-inner h2 { font-size: 28px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
    .cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    .stat-card { padding: 18px; }
    .stat-number { font-size: 22px; }
}
