:root {
    --bg-950: #0f172a;
    --bg-900: #111827;
    --text-100: #e5e7eb;
    --text-300: #cbd5e1;
    --text-400: #94a3b8;
    --white: #ffffff;
    --blue-300: #60a5fa;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --glass: rgba(15,23,42,0.6);
    --border: rgba(255,255,255,0.08);
    --card: rgba(255,255,255,0.06);
    --shadow: rgba(2,6,23,0.5);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, 'Apple Color Emoji','Segoe UI Emoji';
    color: var(--text-100);
    background: var(--bg-950);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
   font-family: 'Hedvig Letters Serif', serif;
   font-size: 3rem;
   letter-spacing: 1.5px;
}

p {
  letter-spacing: 1.5px;
}

img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}
.visually-hidden {
    position: absolute!important;
    clip: rect(1px,1px,1px,1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.bg-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.blob {
    position: absolute;
    filter:blur(60px);
    opacity: 0.55;
    border-radius: 50%;
    animation: floaty 10s ease-in-out infinite;
}
.blob.one {
    width: 36rem;
    height: 36rem;
    right: -8rem;
    top: -8rem;
    background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.2), transparent 60%), radial-gradient(circle at 70% 70%, rgba(37,99,235,.28), transparent 60%);
}
.blob.two {
    width: 40rem;
    height: 40rem;
    left: -10rem;
    bottom: -12rem;
    background: radial-gradient(circle at 70% 30%, rgba(30,64,175,.3), transparent 60%), radial-gradient(circle at 30% 70%, rgba(51,65,85,.35), transparent 60%);
    animation-duration: 12s;
}
@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* =============HEADER SECTION */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(10px);
    background: var(--glass);
    border-bottom: 1px solid var(--border);
}

.header-container {
    padding: 1rem 1rem;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-inner button {
  font-size: 1.2rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-wrap {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: conic-gradient(from 0deg, var(--blue-300), var(--blue-600), var(--blue-800));
    box-shadow: 0 8px 20px var(--shadow);
    overflow: hidden;
}
.logo-spin {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--bg-950);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.07);
    animation: spin 12s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--blue-300), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Hedvig Letters Serif', serif;
}
.nav {
    display: none;
    gap: 1rem;
    align-items: center;
}
.nav a {
    color: var(--text-300);
    font-size: 1.2rem;
    font-family: 'Hedvig Letters Serif', serif;
    letter-spacing: 1.5px;
}
.nav a:hover {
    color: var(--white);
}
.cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.06);
}
.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
@media(min-width:768px) {
    .nav {
        display: flex;
    }
    .menu-btn {
        display: none;
    }
}
.mobile-panel {
    display: none;
    border-top: 1px solid var(--border);
    background: rgba(2,6,23,0.7);
    backdrop-filter: blur(8px);
}
.mobile-panel.open {
    display: block;
}
.mobile-panel a,
.mobile-panel button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-100);
    font-size: 1rem;
    font-family: 'Hedvig Letters Serif', serif;
    letter-spacing: 1px;
}
.mobile-panel a:hover,
.mobile-panel button:hover {
    background: rgba(255,255,255,0.06);
}
.progress {
    height: 3px;
    background: rgba(59,130,246,.85);
    width: 0;
}
section {
    padding: 6rem 0;
}
h1,
h2,
h3 {
    margin: 0;
}
p {
    margin: 0.5rem 0 0;
}
.muted {
    color: var(--text-400);
}
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.06);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-300);
}
.dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 999px;
    animation: pulse 1.2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* =============HERO SECTION */
.hero {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}
@media(min-width:900px) {
    .hero {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
.hero h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid var(--border);
}
.btn.primary {
    background: var(--blue-600);
}
.btn.primary:hover {
    background: var(--blue-500);
}
.btn.ghost {
    background: rgba(255,255,255,0.06);
}
.stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
    color: var(--text-400);
    font-size: 0.95rem;
}
.stat-value {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
}
.dash {
    position: relative;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #0b1224, #111827);
    padding: 1rem;
    border-radius: 22px;
    box-shadow: 0 10px 30px var(--shadow);
}
.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}
.tile {
    height: 80px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);
    animation: floaty 6s ease-in-out infinite;
}
.bar {
    margin-top: 1rem;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 12px;
    padding: 0.6rem;
}
.bar-fill {
    height: 8px;
    width: 12%;
    background: var(--blue-500);
    border-radius: 6px;
    animation: load 8s ease-in-out infinite;
}
@keyframes load {
    0% {
        width: 12%;
    }
    25% {
        width: 68%;
    }
    50% {
        width: 42%;
    }
    75% {
        width: 85%;
    }
    100% {
        width: 60%;
    }
}

/* =============ABOUT SECTION */
#about {
    margin-top: 5rem;
}

.reveal p {
  padding-bottom: 1.5rem;
  letter-spacing: 1.5px;
}

.reveal li {
  letter-spacing: 1px;
}

.about-grid {
    display: grid;
    gap: 2rem;
}
@media(min-width:900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.chip {
    border: 1px solid var(--border);
    background: var(--card);
    padding: 1rem;
    border-radius: 14px;
    color: var(--text-300);
    font-family: 'Hedvig Letters Serif', serif;
    letter-spacing: 1.2px;
}

.panel {
  margin-top: 4rem;
}

/* =============SERVICES SECTION */
#services {
  margin-top: 5rem;
}
.services-grid {
    display: grid;
    gap: 1rem;
}
@media(min-width:700px) {
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media(min-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(3,1fr);
    }
}
.card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #0b1224, #111827);
    padding: 1.2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
}
.card h3 {
    margin: 0.3rem 0 0.2rem;
    font-size: 1.1rem;
}
.card .icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(96,165,250,.2);
}
.bullets {
    margin-top: 0.4rem;
    color: var(--text-300);
    font-size: 0.95rem;
    padding-left: 0;
    list-style: none;
}
.bullets li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0.3rem 0;
}
.dot-sm {
    margin-top: 0.45rem;
    width: 6px;
    height: 6px;
    background: var(--blue-400);
    border-radius: 999px;
    flex: 0 0 6px;
}

/* =============CONTACT SECTION */
#contact {
    margin-top: 5rem;
}

.contact {
    display: grid;
    gap: 2rem;
}
@media(min-width:1024px) {
    .contact {
        grid-template-columns: 0.9fr 1.1fr;
    }
}
.panel {
    border: 1px solid var(--border);
    background: var(--card);
    padding: 1.2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px var(--shadow);
}
label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-300);
    margin: 0.35rem 0;
}
input,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.35);
    color: #fff;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    outline: none;
}
input:focus,
textarea:focus {
    border-color: rgba(59,130,246,.6);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-row {
    display: grid;
    gap: 0.8rem;
}
@media(min-width:600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}
.disclaimer {
    font-size: 0.78rem;
    color: var(--text-400);
}

/* =============FOOTER SECTION */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-logo strong {
 font-size: 2rem;
}
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.footer-grid h4 {
  font-family: 'Hedvig Letters Serif', serif;
  font-size: 1rem;
  letter-spacing: .2rem;
}

@media(min-width:900px) {
    .footer-grid {
        grid-template-columns: repeat(4,1fr);
    }
}
.footer-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 2rem;
    color: var(--text-400);
    font-size: 0.8rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-wrap.sm {
    width: 32px;
    height: 32px;
}
.logo-spin.sm {
    width: 16px;
    height: 16px;
    border-radius: 8px;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.grid-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
}