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

:root {
    --bg: #f3f4f8;
    --white: #fff;
    --dark: #0b0b12;
    --dark2: #16162a;
    --text-primary: #14142b;
    --text-secondary: #555570;
    --text-muted: #9a9ab0;
    --blue: #2b7fff;
    --blue-dark: #1a60cc;
    --blue-light: #5ba0ff;
    --cyan: #00d4f0;
    --violet: #7c5cf6;
    --radius: 24px;
    --radius-sm: 20px;
    --radius-lg: 44px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Onest", sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* grain overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 99999;
}

.content-wrap, .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    border-radius: 16px;
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover::before {
    opacity: 1;
}

.btn--dark {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.15);
}
.btn--dark:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
    background: transparent;
    color: var(--dark);
    border: 2px solid rgba(0, 0, 0, 0.1);
}
.btn--ghost:hover {
    border-color: var(--dark);
    transform: translateY(-4px);
}

.btn--blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 4px 28px rgba(43, 127, 255, 0.25);
}
.btn--blue:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 48px rgba(43, 127, 255, 0.35);
}

.btn--cta {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 4px 28px rgba(43, 127, 255, 0.3);
    padding: 20px 48px;
    font-size: 17px;
    border-radius: 18px;
}
.btn--cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 56px rgba(43, 127, 255, 0.4);
}

/* section shared */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 14px;
}
.section-tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.section-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 540px;
}

/* icon boxes */
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 22px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.icon-box svg {
    width: 26px;
    height: 26px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.icon-box--blue {
    background: rgba(43, 127, 255, 0.07);
    border: 1px solid rgba(43, 127, 255, 0.1);
}
.icon-box--blue svg {
    color: var(--blue);
}
.icon-box--cyan {
    background: rgba(0, 212, 240, 0.07);
    border: 1px solid rgba(0, 212, 240, 0.1);
}
.icon-box--cyan svg {
    color: var(--cyan);
}
.icon-box--violet {
    background: rgba(124, 92, 246, 0.07);
    border: 1px solid rgba(124, 92, 246, 0.1);
}
.icon-box--violet svg {
    color: var(--violet);
}

/* reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--scale.reveal--visible {
    opacity: 1;
    transform: scale(1);
}
.reveal--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--left.reveal--visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal--right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--right.reveal--visible {
    opacity: 1;
    transform: translateX(0);
}

/* cursor glow */
.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(43, 127, 255, 0.07),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body:hover .cursor-glow {
    opacity: 1;
}

@media (max-width: 600px) {
    .content-wrap, .container {
        padding: 0 16px;
    }
    .section-tag {
        margin-bottom: 8px;
        font-size: 11px;
    }
    .section-title {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 12px;
    }
    .section-desc {
        font-size: 15px;
    }
}
