:root {
    --ink: #110f1b;
    --midnight: #1f2136;
    --charcoal: #2d2f45;
    --plum: #5f2eea;
    --ultra: #ff6f61;
    --mint: #72f5c4;
    --sand: #f5efe6;
    --text: #e3e6ff;
    --muted: #adb1d2;
    --border: rgba(227, 230, 255, 0.2);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(120% 120% at top, #2c1944 0%, #0c0c12 60%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--mint);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: var(--plum);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4vw;
    position: sticky;
    top: 0;
    background: rgba(12, 12, 18, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    flex-direction: column;
}

.logo {
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.tagline {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.primary-nav {
    display: grid;
    grid-template-columns: repeat(8, auto);
    gap: 1rem;
    font-size: 0.95rem;
}

.primary-nav a {
    color: var(--muted);
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
}

.primary-nav a:hover {
    color: var(--mint);
    background: rgba(255, 255, 255, 0.05);
}

.header-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: linear-gradient(120deg, var(--plum), var(--ultra));
    color: white;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ghost-btn {
    background: transparent;
    border: 1px dashed var(--border);
    color: var(--muted);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
}

main {
    padding: 0 4vw 5rem;
}

.hero {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.hero-content {
    background: rgba(17, 15, 27, 0.7);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.hero-visual {
    position: relative;
    background: linear-gradient(160deg, rgba(95, 46, 234, 0.3), rgba(114, 245, 196, 0.15));
    border-radius: 28px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 520px;
    margin: 0 auto;
}

.hero-visual img {
    border-radius: 20px;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

.stat-card {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: rgba(17, 15, 27, 0.85);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.stat-card.alt {
    left: 1.5rem;
    bottom: 1.5rem;
    right: auto;
    top: auto;
}

.stat {
    font-size: 1.5rem;
    margin: 0;
}

.stat-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.hero-slider {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.slider-dot {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--mint);
    color: #0f0f15;
}

.hero-slide {
    display: none;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 3px solid var(--plum);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 16px 16px 0;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    max-height: 220px;
    object-fit: cover;
}

.hero-accordion {
    margin-top: 1.5rem;
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    color: var(--text);
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    color: var(--muted);
}

.accordion-panel.open {
    max-height: 200px;
    padding-bottom: 0.75rem;
}

.trust-bar {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17, 15, 27, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section {
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.7);
}

.section.alt {
    background: rgba(30, 20, 45, 0.7);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.section-media {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.section-media img {
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.4);
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
}

.card-grid.three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.card ul {
    padding-left: 1.2rem;
    color: var(--muted);
}

.design-showcase,
.pillars,
.security-grid,
.industries-grid,
.insight-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.design-showcase div,
.pillars article,
.security-grid article,
.industries-grid article,
.insight-list article {
    padding: 1.2rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.timeline div {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline span {
    font-size: 2rem;
    color: var(--mint);
}

.contact {
    background: linear-gradient(120deg, rgba(95, 46, 234, 0.35), rgba(17, 15, 27, 0.9));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-visual {
    display: flex;
    justify-content: center;
}

.contact-visual img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
}

.contact-details {
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 1rem;
}

.contact-form label {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--muted);
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem 4vw;
    background: #06060a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer h4 {
    margin-top: 0;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(6, 6, 10, 0.9);
    border-radius: 16px;
    padding: 1.25rem;
    max-width: 320px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99;
}

.cookie-banner.hidden {
    display: none;
}

.alt-page {
    background: #06060a;
    color: #f4f7ff;
    min-height: 100vh;
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy,
.thanks {
    max-width: 860px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy h1,
.thanks h1 {
    margin-top: 0;
}

.policy ul {
    padding-left: 1.2rem;
}

.mini-footer {
    text-align: center;
    padding-bottom: 2rem;
    color: var(--muted);
}

@media (max-width: 960px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        position: static;
    }
    .primary-nav {
        grid-template-columns: repeat(4, auto);
    }
    .section,
    .hero-content {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.95rem;
    }
    .primary-nav {
        grid-template-columns: repeat(2, auto);
    }
    .site-header {
        padding: 1rem;
    }
    main {
        padding: 0 1rem 3rem;
    }
    .section,
    .hero {
        padding: 2rem 1rem;
    }
    .cookie-banner {
        position: static;
        margin: 1rem;
    }
}
