/* ========================================
   CyberIX - Light Theme
   Palette: Warm cream + Deep emerald + Terracotta
   Fonts: Sora (display) + DM Sans (body)
   ======================================== */

:root {
    --bg: #F7F5F0;
    --bg-tinted: #EFECE5;
    --bg-white: #FFFFFF;
    --bg-dark: #112B2B;

    --accent: #0B6E4F;
    --accent-light: #E8F5EF;
    --accent-warm: #D45D3C;
    --accent-warm-light: #FDF0EC;

    --text: #1A1A2E;
    --text-secondary: #5C5C72;
    --text-muted: #9494A6;
    --text-inverse: #F7F5F0;

    --border: rgba(26, 26, 46, 0.08);
    --border-strong: rgba(26, 26, 46, 0.15);

    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.1);
    --shadow-img: 0 16px 48px rgba(26, 26, 46, 0.14);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.6s var(--ease);
}

/* ========== Reset ========== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

::selection { background: var(--accent); color: white; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ========== Utilities ========== */

.text-accent { color: var(--accent); }
.hero .text-accent { color: var(--accent-warm); }
.text-accent-inv { color: var(--accent-warm-light); }

/* ========== Navigation ========== */

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.nav--scrolled {
    padding: 12px 0;
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav__container {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav__logo { display: flex; align-items: center; gap: 10px; }

.nav__logo-mark {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--accent); color: white;
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.03em;
}

.nav__logo-text {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
    color: #FFFFFF; letter-spacing: -0.03em;
    transition: var(--transition);
}

.nav--scrolled .nav__logo-text { color: var(--text); }

.nav__links { display: flex; align-items: center; gap: 28px; }

.nav__link {
    font-size: 0.88rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.75); transition: var(--transition);
}

.nav__link:hover { color: #FFFFFF; }

.nav--scrolled .nav__link { color: var(--text-secondary); }
.nav--scrolled .nav__link:hover { color: var(--text); }

.nav__link--cta {
    padding: 9px 22px; border-radius: var(--radius-full);
    background: var(--accent); color: white !important; font-weight: 600;
}

.nav__link--cta:hover { background: #095A40; transform: translateY(-1px); }

.nav__toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}

.nav__toggle span { width: 22px; height: 2px; background: #FFFFFF; transition: var(--transition); border-radius: 2px; }
.nav--scrolled .nav__toggle span { background: var(--text); }

/* ========== Hero ========== */

.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 140px 24px 80px; text-align: center; overflow: hidden;
}

.hero__slider {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; overflow: hidden;
}

.hero__slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}

.hero__slide--active { opacity: 1; }

.hero__slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero__overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 43, 43, 0.7) 0%,
        rgba(17, 43, 43, 0.55) 50%,
        rgba(17, 43, 43, 0.75) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative; z-index: 2; max-width: 720px;
}

.hero__badge {
    display: inline-block; padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9); margin-bottom: 32px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero__subtitle {
    font-size: 1.55rem; color: rgba(255, 255, 255, 0.85);
    max-width: 640px; margin: 0 auto 44px; line-height: 1.6;
}

.hero__cta { display: flex; gap: 14px; justify-content: center; }

.hero__stats {
    position: relative; z-index: 2; margin-top: 56px;
    display: flex; align-items: center; justify-content: center; gap: 36px;
    padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat { text-align: center; }

.hero__stat-number {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
    color: #FFFFFF;
}

.hero__stat-suffix {
    font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
    color: var(--accent-warm);
}

.hero__stat-label {
    display: block; font-size: 0.95rem; color: rgba(255, 255, 255, 0.65);
    margin-top: 6px; max-width: 180px;
}

.hero__stat-divider { width: 1px; height: 48px; background: rgba(255, 255, 255, 0.15); }

/* ========== Buttons ========== */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 36px; border-radius: var(--radius-full);
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); border: none; letter-spacing: -0.01em;
}

.btn--primary {
    background: var(--accent); color: white;
    box-shadow: 0 4px 16px rgba(11, 110, 79, 0.25);
}

.btn--primary:hover { background: #095A40; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(11, 110, 79, 0.3); }

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

.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero .btn--outline { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn--outline:hover { border-color: #FFFFFF; color: #FFFFFF; }

.btn--white {
    background: white; color: var(--bg-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn--white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

.btn--full { width: 100%; }

/* ========== Sections ========== */

.section { padding: 110px 0; }

.section--tinted { background: var(--bg-tinted); }

.section__header { text-align: center; margin-bottom: 56px; }

.section__tag {
    display: inline-block; padding: 4px 14px;
    background: var(--accent-light); border-radius: var(--radius-full);
    font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700; letter-spacing: -0.035em; line-height: 1.15;
    margin-bottom: 16px;
}

.section__desc { font-size: 1.2rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ========== Problem Cards ========== */

.problems__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.problem-card {
    padding: 32px; background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.problem-card__number {
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
    color: var(--accent); margin-bottom: 14px;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-light); border-radius: 10px;
}

.problem-card__title {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
    margin-bottom: 8px; letter-spacing: -0.02em;
}

.problem-card__desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* ========== Solution ========== */

.solution__layout {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
}

.solution__image {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.solution__image img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }

.solution__content .section__tag { display: inline-block; }
.solution__content .section__title { text-align: left; }
.solution__content .section__desc { text-align: left; margin: 0 0 32px; }

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

.solution__step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius); transition: var(--transition);
}

.solution__step:hover { background: var(--bg-tinted); }

.solution__step-num {
    flex-shrink: 0; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--accent); color: white;
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
}

.solution__step h4 {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
    margin-bottom: 2px; letter-spacing: -0.02em;
}

.solution__step p { font-size: 1rem; color: var(--text-secondary); line-height: 1.55; }

/* ========== Feature Cards ========== */

.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.feature-card {
    padding: 28px; background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.feature-card__icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius); background: var(--accent-light); color: var(--accent);
    margin-bottom: 18px;
}

.feature-card h3 {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
    margin-bottom: 8px; letter-spacing: -0.02em;
}

.feature-card p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* ========== Market ========== */

.market__layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

.market__content .section__tag { display: inline-block; }
.market__content .section__title { text-align: left; }
.market__content .section__desc { text-align: left; margin: 0; }

.market__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.market-stat {
    padding: 28px; background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.market-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.market-stat__number {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
    color: var(--accent); margin-bottom: 4px; display: block;
}

.market-stat__label { font-size: 1rem; color: var(--text-secondary); }

/* ========== Team ========== */

.team__layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
    align-items: center; margin-bottom: 48px;
}

.team__header .section__tag { display: inline-block; }
.team__header .section__title { text-align: left; }
.team__header .section__desc { text-align: left; margin: 0; }

.team__image {
    border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}

.team__image img { width: 100%; height: 320px; object-fit: cover; }

.team__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
    max-width: 800px; margin: 0 auto;
}

.team-card {
    display: flex; gap: 20px; padding: 28px;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-card__avatar {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    background: var(--accent); color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
}

.team-card__info h3 {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
    letter-spacing: -0.02em;
}

.team-card__role {
    font-size: 0.88rem; color: var(--accent); font-weight: 600;
    display: block; margin-bottom: 8px;
}

.team-card__info p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.55; }

.team-card__link {
    display: inline-block; margin-top: 10px;
    font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
    color: var(--accent); transition: var(--transition);
}

.team-card__link:hover { color: #095A40; }

/* ========== CTA ========== */

.section--cta {
    background: var(--bg-dark); color: var(--text-inverse);
}

.cta__content { max-width: 560px; margin: 0 auto; text-align: center; }

.cta__title {
    font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
}

.cta__desc { font-size: 1.15rem; color: rgba(247, 245, 240, 0.65); margin-bottom: 36px; line-height: 1.7; }

.cta__form { display: flex; flex-direction: column; gap: 10px; }

.cta__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cta__input {
    width: 100%; padding: 13px 16px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius); color: var(--text-inverse);
    font-family: var(--font-body); font-size: 0.92rem;
    transition: var(--transition); outline: none;
}

.cta__input::placeholder { color: rgba(247, 245, 240, 0.35); }
.cta__input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.12); }

.cta__select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23F7F5F0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px; cursor: pointer;
}

.cta__select option { background: var(--bg-dark); color: var(--text-inverse); }
.cta__textarea { resize: vertical; min-height: 76px; }

/* ========== Footer ========== */

.footer { padding: 48px 0; border-top: 1px solid var(--border); }

.footer__content {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px;
}

.footer__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__brand .nav__logo-text { color: var(--text); font-size: 1.4rem; }
.footer__tagline { width: 100%; font-size: 0.95rem; color: var(--text-muted); margin-top: 4px; }

.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 1rem; color: var(--text-secondary); transition: var(--transition); }
.footer__links a:hover { color: var(--text); }

.footer__bottom {
    display: flex; justify-content: space-between; padding-top: 20px;
    border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted);
}

/* ========== Reveal ========== */

.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal--visible { opacity: 1; transform: translateY(0); }

.problems__grid .reveal:nth-child(2), .features__grid .reveal:nth-child(2),
.market__grid .reveal:nth-child(2), .team__grid .reveal:nth-child(2) { transition-delay: 0.08s; }

.problems__grid .reveal:nth-child(3), .features__grid .reveal:nth-child(3),
.market__grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.problems__grid .reveal:nth-child(4), .features__grid .reveal:nth-child(4),
.market__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.features__grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.features__grid .reveal:nth-child(6) { transition-delay: 0.2s; }

/* ========== Responsive ========== */

@media (max-width: 1024px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .solution__layout { grid-template-columns: 1fr; }
    .solution__image { max-height: 340px; }
    .solution__image img { min-height: auto; }
    .solution__content .section__title,
    .solution__content .section__desc { text-align: center; }
    .solution__content .section__desc { margin: 0 auto 32px; }
    .solution__content .section__tag { text-align: center; display: block; }
    .market__layout { grid-template-columns: 1fr; text-align: center; }
    .market__content .section__title,
    .market__content .section__desc { text-align: center; margin-left: auto; margin-right: auto; }
    .market__content .section__tag { display: block; text-align: center; }
    .market__content { margin-bottom: 8px; }
    .team__layout { grid-template-columns: 1fr; text-align: center; }
    .team__header .section__title,
    .team__header .section__desc { text-align: center; margin-left: auto; margin-right: auto; }
    .team__header .section__tag { display: block; text-align: center; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .nav__links {
        position: fixed; top: 0; right: -100%; width: 260px; height: 100vh;
        background: rgba(247, 245, 240, 0.97); backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column; justify-content: center; gap: 20px; padding: 24px;
        transition: var(--transition); border-left: 1px solid var(--border);
    }

    .nav__links--open { right: 0; }
    .nav__links--open .nav__link { color: var(--text-secondary); font-size: 1.05rem; }
    .nav__links--open .nav__link:hover { color: var(--text); }
    .nav__links--open .nav__link--cta { color: white !important; }
    .nav__toggle { display: flex; }

    .nav__toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav__toggle--active span:nth-child(2) { opacity: 0; }
    .nav__toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 120px 16px 60px; }
    .hero__content { padding: 32px 24px; }
    .hero__stats { flex-direction: column; gap: 20px; }
    .hero__stat-divider { width: 40px; height: 1px; }
    .hero__cta { flex-direction: column; align-items: center; }
    .problems__grid { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .market__grid { grid-template-columns: 1fr; }
    .team__grid { grid-template-columns: 1fr; }
    .team-card { flex-direction: column; text-align: center; }
    .cta__form-row { grid-template-columns: 1fr; }

    .footer__content { flex-direction: column; gap: 20px; text-align: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; }
    .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}
