:root {
    --ap-bg: #0b0f1c;
    --ap-bg-soft: #121a31;
    --ap-panel: rgba(13, 20, 39, 0.72);
    --ap-panel-strong: #12192b;
    --ap-surface: #f7f1e8;
    --ap-surface-2: #efe6d6;
    --ap-card: rgba(255, 255, 255, 0.06);
    --ap-card-strong: rgba(255, 255, 255, 0.1);
    --ap-text: #eaf1ff;
    --ap-text-soft: rgba(234, 241, 255, 0.74);
    --ap-text-dark: #111827;
    --ap-text-dark-soft: rgba(17, 24, 39, 0.72);
    --ap-line: rgba(255, 255, 255, 0.12);
    --ap-line-dark: rgba(17, 24, 39, 0.08);
    --ap-cyan: #46e4d0;
    --ap-blue: #5f77ff;
    --ap-coral: #ff7a59;
    --ap-gold: #efc27d;
    --ap-gradient-main: linear-gradient(135deg, #55d8ff 0%, #5f77ff 48%, #ff7a59 100%);
    --ap-gradient-dark: radial-gradient(circle at top left, rgba(95, 119, 255, 0.32), transparent 30%), radial-gradient(circle at 85% 12%, rgba(70, 228, 208, 0.24), transparent 22%), linear-gradient(180deg, #09101e 0%, #0c1324 42%, #10182d 100%);
    --ap-gradient-light: linear-gradient(180deg, #faf5ee 0%, #f4ebdf 100%);
    --ap-shadow-soft: 0 24px 60px rgba(4, 9, 20, 0.18);
    --ap-shadow-strong: 0 28px 80px rgba(4, 9, 20, 0.28);
    --ap-radius-sm: 16px;
    --ap-radius-md: 24px;
    --ap-radius-lg: 34px;
    --ap-container: 1220px;
    --ap-display: "Space Grotesk", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
    --ap-sans: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --ap-transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--ap-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ap-text);
    background: var(--ap-gradient-dark);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    font-family: var(--ap-display);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.6rem, 5.8vw, 4.9rem);
}

h2 {
    font-size: clamp(1.75rem, 3.7vw, 2.9rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.container {
    width: min(100% - 40px, var(--ap-container));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform var(--ap-transition), box-shadow var(--ap-transition), border-color var(--ap-transition), background var(--ap-transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #09101e;
    background: var(--ap-gradient-main);
    box-shadow: 0 16px 40px rgba(95, 119, 255, 0.24);
}

.btn-secondary {
    color: var(--ap-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.site-main {
    overflow: clip;
}

.ap-kicker,
.ap-kicker-light {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.ap-kicker {
    color: var(--ap-cyan);
}

.ap-kicker-light {
    color: rgba(255, 255, 255, 0.72);
}

.ap-kicker::before,
.ap-kicker-light::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.ap-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--ap-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ap-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(8, 12, 24, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.ap-header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ap-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
}

.ap-brand-mark {
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.72rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #1685c8 0%, #1aa2df 62%, #6d77ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ap-brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(234, 241, 255, 0.52);
}

.ap-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.ap-nav-link {
    position: relative;
    color: rgba(234, 241, 255, 0.82);
    font-size: 0.95rem;
    transition: color var(--ap-transition);
}

.ap-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--ap-coral) 0%, var(--ap-cyan) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ap-transition);
}

.ap-nav-link:hover {
    color: #ffffff;
}

.ap-nav-link:hover::after {
    transform: scaleX(1);
}

.ap-nav-link-cta {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.ap-hero {
    position: relative;
    padding: 7rem 0 4rem;
}

.ap-hero::before {
    content: "";
    position: absolute;
    inset: -10% auto auto -5%;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.18), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.ap-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.4rem;
    align-items: stretch;
}

.ap-hero-copy,
.ap-signal-card,
.ap-stat-card,
.ap-offer-card,
.ap-method-card,
.ap-showcase-copy,
.ap-showcase-media,
.ap-team-card,
.ap-cta-shell,
.ap-contact-aside,
.ap-contact-form-shell,
.ap-price-card,
.legal-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--ap-shadow-soft);
}

.ap-hero-copy {
    padding: 2.4rem;
    border-radius: var(--ap-radius-lg);
    background: linear-gradient(160deg, rgba(19, 29, 54, 0.94) 0%, rgba(11, 18, 33, 0.9) 52%, rgba(18, 26, 49, 0.94) 100%);
}

.ap-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 5.7vw, 4.8rem);
}

.ap-hero-text,
.ap-page-intro,
.ap-section-head p,
.ap-method-copy p,
.ap-showcase-copy p,
.ap-team-card p,
.ap-contact-aside p,
.contact-form-note,
.ap-price-head p,
.legal-content p,
.legal-content li {
    color: var(--ap-text-soft);
}

.ap-hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ap-hero-rail {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
}

.ap-signal-card {
    padding: 1.6rem;
    border-radius: var(--ap-radius-md);
    background: linear-gradient(160deg, rgba(79, 229, 210, 0.15) 0%, rgba(95, 119, 255, 0.12) 50%, rgba(255, 122, 89, 0.12) 100%);
}

.ap-signal-card h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.65rem);
    margin-top: 0.65rem;
}

.ap-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ap-stat-card {
    min-height: 100%;
    padding: 1.4rem;
    border-radius: var(--ap-radius-md);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.ap-stat-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--ap-display);
    font-size: 1.8rem;
}

.ap-stat-card span {
    color: rgba(234, 241, 255, 0.68);
}

.ap-stat-card p {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(234, 241, 255, 0.58);
}

.ap-ribbon {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.ap-ribbon-track {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 0.95rem 0;
    animation: ap-marquee 24s linear infinite;
}

.ap-ribbon-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 0 1.2rem;
    font-size: 0.92rem;
    color: rgba(234, 241, 255, 0.82);
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes ap-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ap-grid-section,
.ap-method-section,
.ap-showcase-section,
.ap-team-section,
.ap-cta-section,
.ap-contact-section,
.ap-pricing-section,
.ap-services-extension,
.legal-page,
.ap-solution-focus {
    padding: 5rem 0;
}

.ap-grid-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0) 0%, rgba(10, 16, 31, 0.76) 14%, rgba(10, 16, 31, 0.92) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-method-section {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(70, 228, 208, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(16, 24, 45, 0.94) 0%, rgba(11, 17, 31, 0.98) 100%);
}

.ap-showcase-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(246, 239, 226, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.ap-team-section {
    position: relative;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 122, 89, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(8, 13, 25, 0.94) 0%, rgba(10, 15, 28, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ap-contrast-section {
    position: relative;
    background: linear-gradient(180deg, rgba(8, 13, 25, 0.6) 0%, rgba(12, 18, 34, 0.95) 100%);
}

.ap-cta-section {
    position: relative;
    background:
        radial-gradient(circle at 18% 50%, rgba(95, 119, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(10, 16, 29, 0.98) 0%, rgba(7, 11, 21, 1) 100%);
}

.ap-section-head {
    max-width: 54rem;
    margin-bottom: 2rem;
}

.ap-section-head h2,
.ap-method-copy h2,
.ap-showcase-copy h2,
.ap-contact-aside h2,
.ap-cta-shell h2,
.ap-page-hero h1,
.legal-page h1,
.legal-content h2 {
    line-height: 1;
}

.ap-offer-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.ap-offer-card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    padding: 1.5rem;
    border-radius: var(--ap-radius-md);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    min-height: 250px;
    grid-column: span 2;
    transition: transform var(--ap-transition), border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-offer-card-featured {
    grid-column: span 3;
    background: linear-gradient(160deg, rgba(95, 119, 255, 0.16) 0%, rgba(255, 122, 89, 0.14) 100%);
}

.ap-offer-card h3 {
    max-width: 18ch;
    margin-bottom: 0.8rem;
    font-size: clamp(1.22rem, 2vw, 1.5rem);
    line-height: 1.05;
}

.ap-offer-card p {
    margin-bottom: 0;
}

.ap-offer-card:hover,
.ap-method-card:hover,
.ap-team-card:hover,
.ap-price-card:hover,
.ap-contact-aside:hover,
.ap-contact-form-shell:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--ap-shadow-strong);
}

.ap-card-index {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--ap-gold);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ap-method-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 1.25rem;
    align-items: start;
}

.ap-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ap-method-card {
    padding: 1.5rem;
    border-radius: var(--ap-radius-md);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    transition: transform var(--ap-transition), border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-method-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ap-cyan);
    font-weight: 800;
}

.ap-showcase-shell,
.ap-solution-grid,
.ap-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 1.25rem;
    align-items: start;
}

.ap-showcase-copy,
.ap-showcase-media,
.ap-contact-aside,
.ap-contact-form-shell,
.ap-price-card,
.legal-content {
    padding: 1.8rem;
    border-radius: var(--ap-radius-md);
}

.ap-showcase-copy h2 {
    max-width: 10ch;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.ap-showcase-copy,
.ap-contact-aside {
    background: rgba(255, 255, 255, 0.04);
}

.ap-showcase-media,
.ap-contact-form-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.ap-check-grid,
.ap-contact-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.6rem 0 0;
}

.ap-check-grid div,
.ap-contact-list div {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(234, 241, 255, 0.88);
}

.ap-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
    color: #ffffff;
    font-weight: 700;
}

.ap-inline-link::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ap-gradient-main);
}

.ap-video-panel {
    overflow: hidden;
    border-radius: 22px;
    background: #04070e;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ap-video-panel video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.ap-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ap-team-card {
    padding: 1.4rem;
    border-radius: var(--ap-radius-md);
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--ap-transition), border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-team-photo {
    aspect-ratio: 4 / 4.2;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.ap-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-team-photo-bruce img {
    object-position: center 24%;
}

.ap-team-role {
    color: var(--ap-cyan);
    font-size: 0.92rem;
    font-weight: 700;
}

.ap-contrast-section {
    padding: 4rem 0;
}

.ap-contrast-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
    padding: 2rem;
    border-radius: var(--ap-radius-lg);
    background: linear-gradient(135deg, rgba(95, 119, 255, 0.18) 0%, rgba(255, 122, 89, 0.16) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--ap-shadow-strong);
}

.ap-contrast-points {
    display: grid;
    gap: 0.8rem;
}

.ap-contrast-points p {
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.ap-cta-shell {
    padding: 2rem;
    border-radius: var(--ap-radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(95, 119, 255, 0.12) 50%, rgba(255, 122, 89, 0.12) 100%);
    text-align: center;
}

.ap-cta-shell h2 {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.ap-page-hero {
    padding: 6rem 0 3rem;
}

.ap-page-hero-shell {
    max-width: 54rem;
}

.ap-page-intro {
    max-width: 46rem;
    font-size: 1.08rem;
}

.ap-price-card {
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    transition: transform var(--ap-transition), border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-services-extension {
    position: relative;
    background:
        radial-gradient(circle at 82% 18%, rgba(70, 228, 208, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(8, 13, 25, 0.98) 0%, rgba(10, 16, 29, 1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ap-service-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ap-service-pillar {
    padding: 1.5rem;
    border-radius: var(--ap-radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--ap-shadow-soft);
    transition: transform var(--ap-transition), border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-service-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--ap-shadow-strong);
}

.ap-service-pillar h3 {
    margin-top: 1rem;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.06;
}

.ap-service-pillar p {
    margin-bottom: 0;
    color: var(--ap-text-soft);
}

.ap-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ap-price-card-featured {
    background: linear-gradient(160deg, rgba(95, 119, 255, 0.14) 0%, rgba(255, 122, 89, 0.14) 100%);
}

.ap-price-head {
    margin-bottom: 1.6rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.ap-price-value {
    margin-bottom: 0.7rem;
    font-family: var(--ap-display);
    font-size: 2rem;
    font-weight: 800;
}

.ap-price-value span {
    font-size: 0.95rem;
    color: var(--ap-text-soft);
}

.ap-feature-table {
    width: 100%;
    border-collapse: collapse;
}

.ap-feature-table th,
.ap-feature-table td {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    text-align: left;
}

.ap-feature-table th {
    width: 38%;
    padding-right: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.ap-feature-table td {
    color: var(--ap-text-soft);
}

.ap-feature-table tr:last-child th,
.ap-feature-table tr:last-child td {
    border-bottom: 0;
}

.ap-launch-box {
    margin-top: 1.5rem;
    padding: 1.4rem 1.4rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(95, 119, 255, 0.14) 0%, rgba(255, 122, 89, 0.16) 100%);
    border: 1px solid rgba(47, 107, 217, 0.10);
    box-shadow: 0 14px 32px rgba(47, 107, 217, 0.10);
    position: relative;
    overflow: visible;
}

.ap-launch-box::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid rgba(95, 119, 255, 0.32);
    box-shadow:
        0 0 0 1px rgba(255, 122, 89, 0.18),
        0 0 20px rgba(95, 119, 255, 0.22),
        0 0 34px rgba(70, 228, 208, 0.14);
    pointer-events: none;
    z-index: 0;
    animation: ap-launch-border 1.7s ease-in-out infinite;
}

.ap-launch-box::after {
    display: none;
}

.ap-launch-box strong {
    display: block;
    margin: 0.8rem 0 0.4rem;
    font-family: var(--ap-display);
    font-size: 2.15rem;
    position: relative;
    z-index: 1;
}

.ap-launch-box .ap-chip,
.ap-launch-box p {
    position: relative;
    z-index: 1;
}

.ap-center-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ap-media-caption {
    margin-top: 0.75rem;
    color: var(--ap-text-soft);
}

.ap-contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

.ap-contact-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: #ffffff;
}

.ap-contact-form label span {
    color: var(--ap-text-soft);
    font-weight: 500;
}

.form-input,
.form-textarea,
.ap-contact-form select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font: inherit;
    transition: border-color var(--ap-transition), box-shadow var(--ap-transition), background var(--ap-transition);
}

.form-input:focus,
.form-textarea:focus,
.ap-contact-form select:focus {
    outline: none;
    border-color: rgba(70, 228, 208, 0.8);
    box-shadow: 0 0 0 4px rgba(70, 228, 208, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.form-input option {
    color: #111827;
}

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

.field-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form-note {
    max-width: 34rem;
}

.contact-notice {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    font-weight: 600;
}

.contact-notice-success {
    color: #166534;
    background: rgba(31, 158, 92, 0.18);
    border: 1px solid rgba(31, 158, 92, 0.34);
}

.contact-notice-error {
    color: #991b1b;
    background: rgba(180, 56, 30, 0.18);
    border: 1px solid rgba(180, 56, 30, 0.34);
}

.legal-page {
    padding-top: 6rem;
}

.legal-content {
    max-width: 54rem;
    background: rgba(255, 255, 255, 0.04);
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.ap-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 19, 0.55);
}

.ap-footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.ap-footer-logo {
    margin-bottom: 0.5rem;
    font-family: var(--ap-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ap-footer-brand {
    max-width: 28rem;
    color: var(--ap-text-soft);
}

.ap-footer-columns {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.ap-footer-nav {
    display: grid;
    gap: 0.7rem;
}

.ap-footer-nav a {
    color: rgba(234, 241, 255, 0.82);
}

.ap-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(234, 241, 255, 0.56);
}

@media (max-width: 1080px) {
    .ap-hero-shell,
    .ap-method-shell,
    .ap-showcase-shell,
    .ap-solution-grid,
    .ap-contact-grid,
    .ap-contrast-shell {
        grid-template-columns: 1fr;
    }

    .ap-stats-grid,
    .ap-team-grid,
    .ap-pricing-grid,
    .ap-service-pillars {
        grid-template-columns: 1fr;
    }

    .ap-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ap-offer-card,
    .ap-offer-card-featured {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .ap-nav {
        display: none;
    }

    .ap-nav.nav-active {
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(9, 15, 28, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--ap-shadow-strong);
    }

    .ap-header-shell {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .ap-contact-form .form-row,
    .ap-method-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: clamp(2.9rem, 14vw, 4.4rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    .ap-hero {
        padding-top: 5.5rem;
    }

    .ap-hero-copy,
    .ap-signal-card,
    .ap-showcase-copy,
    .ap-showcase-media,
    .ap-team-card,
    .ap-contact-aside,
    .ap-contact-form-shell,
    .ap-price-card,
    .legal-content,
    .ap-cta-shell {
        padding: 1.3rem;
    }

    .ap-hero-actions .btn {
        width: 100%;
    }

    .contact-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-footer .btn {
        width: 100%;
    }
}

/* ====================================
   AIOMIA PREMIUM V2 / LIGHTER EDITION
   ==================================== */

body {
    color: #10203a;
    background:
        radial-gradient(circle at top left, rgba(95, 119, 255, 0.10), transparent 22%),
        linear-gradient(180deg, #eef4fb 0%, #f7f3ec 28%, #fbfaf8 100%);
}

.ap-header {
    background: rgba(247, 249, 252, 0.84);
    border-bottom: 1px solid rgba(16, 32, 58, 0.08);
}

.ap-brand-mark,
.ap-nav-link {
    color: #10203a;
}

.ap-brand-tag {
    color: rgba(16, 32, 58, 0.48);
}

.ap-nav-link-cta {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(16, 32, 58, 0.12);
}

.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(16, 32, 58, 0.12);
}

.mobile-menu-toggle span {
    background: #10203a;
}

.btn-secondary {
    color: #10203a;
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(16, 32, 58, 0.12);
}

.ap-hero {
    padding-bottom: 3.2rem;
}

.ap-hero-copy,
.ap-signal-card,
.ap-stat-card {
    color: var(--ap-text);
}

.ap-ribbon {
    background: rgba(255, 255, 255, 0.68);
    border-top: 1px solid rgba(16, 32, 58, 0.08);
    border-bottom: 1px solid rgba(16, 32, 58, 0.08);
}

.ap-ribbon-track span {
    color: rgba(16, 32, 58, 0.72);
    border-right: 1px solid rgba(16, 32, 58, 0.08);
}

.ap-grid-section,
.ap-showcase-section,
.ap-team-section,
.ap-cta-section,
.ap-contact-section,
.ap-pricing-section,
.ap-services-extension,
.legal-page,
.ap-solution-focus,
.ap-page-hero {
    color: #10203a;
}

.ap-grid-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f6efe6 100%);
    border-top: 1px solid rgba(16, 32, 58, 0.06);
    border-bottom: 1px solid rgba(16, 32, 58, 0.06);
}

.ap-method-section {
    background: linear-gradient(180deg, #f3efe8 0%, #f8fbff 100%);
}

.ap-showcase-section {
    background: linear-gradient(180deg, #fcfbf8 0%, #f3f7fd 100%);
}

.ap-team-section {
    background: linear-gradient(180deg, #f4f8ff 0%, #f8f2ea 100%);
    border-top: 1px solid rgba(16, 32, 58, 0.06);
    border-bottom: 1px solid rgba(16, 32, 58, 0.06);
}

.ap-cta-section {
    background: linear-gradient(180deg, #f8f2ea 0%, #f3f8ff 100%);
}

.ap-pricing-section,
.ap-services-extension,
.ap-solution-focus,
.ap-contact-section,
.ap-page-hero,
.legal-page {
    background: #fbfaf7;
}

.ap-contrast-section {
    background: transparent;
}

.ap-section-head h2,
.ap-method-copy h2,
.ap-showcase-copy h2,
.ap-contact-aside h2,
.ap-cta-shell h2,
.ap-page-hero h1,
.legal-page h1,
.legal-content h2,
.ap-offer-card h3,
.ap-method-card h3,
.ap-team-card h3,
.ap-service-pillar h3,
.ap-price-head h3 {
    color: #10203a;
}

.ap-kicker {
    color: #2f6bd9;
}

.ap-kicker-light {
    color: rgba(16, 32, 58, 0.56);
}

.ap-kicker-light::before {
    background: currentColor;
}

.ap-hero-text,
.ap-page-intro,
.ap-section-head p,
.ap-method-copy p,
.ap-showcase-copy p,
.ap-team-card p,
.ap-contact-aside p,
.contact-form-note,
.ap-price-head p,
.legal-content p,
.legal-content li,
.ap-service-pillar p {
    color: rgba(16, 32, 58, 0.72);
}

.ap-offer-card,
.ap-method-card,
.ap-showcase-copy,
.ap-showcase-media,
.ap-team-card,
.ap-contact-aside,
.ap-contact-form-shell,
.ap-price-card,
.legal-content,
.ap-service-pillar {
    border: 1px solid rgba(16, 32, 58, 0.08);
    box-shadow: 0 18px 42px rgba(16, 32, 58, 0.08);
}

.ap-offer-card,
.ap-method-card,
.ap-team-card,
.ap-contact-aside,
.ap-contact-form-shell,
.ap-price-card,
.legal-content,
.ap-service-pillar,
.ap-showcase-copy,
.ap-showcase-media {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(8px);
}

.ap-offer-card-featured,
.ap-price-card-featured,
.ap-cta-shell {
    background: linear-gradient(160deg, rgba(95, 119, 255, 0.12) 0%, rgba(255, 122, 89, 0.10) 100%);
}

.ap-card-index {
    color: #d0922f;
}

.ap-method-card span {
    background: rgba(47, 107, 217, 0.10);
    color: #2f6bd9;
}

.ap-stat-card {
    background: linear-gradient(180deg, rgba(22, 36, 67, 0.90) 0%, rgba(26, 49, 84, 0.86) 100%);
}

.ap-check-grid div,
.ap-contact-list div {
    background: rgba(47, 107, 217, 0.05);
    border-color: rgba(47, 107, 217, 0.10);
    color: #183153;
}

.ap-inline-link {
    color: #10203a;
}

.ap-team-role,
.ap-chip {
    color: #2f6bd9;
}

.ap-chip {
    background: rgba(47, 107, 217, 0.08);
    border-color: rgba(47, 107, 217, 0.14);
}

.ap-contrast-shell {
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.94) 0%, rgba(24, 45, 82, 0.96) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.ap-contrast-shell h2,
.ap-contrast-points p,
.ap-contrast-shell .ap-kicker-light {
    color: #eef4ff;
}

.ap-contrast-points p {
    background: rgba(255, 255, 255, 0.08);
}

.ap-contact-form label {
    color: #10203a;
}

.ap-contact-form label span {
    color: rgba(16, 32, 58, 0.56);
}

.form-input,
.form-textarea,
.ap-contact-form select {
    border-color: rgba(16, 32, 58, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #10203a;
}

.form-input:focus,
.form-textarea:focus,
.ap-contact-form select:focus {
    background: #ffffff;
}

.ap-footer {
    background: linear-gradient(180deg, #15213d 0%, #0c1426 100%);
}

@media (max-width: 900px) {
    .ap-nav.nav-active {
        background: rgba(250, 251, 253, 0.98);
        border-color: rgba(16, 32, 58, 0.12);
    }

    .ap-nav.nav-active .ap-nav-link {
        color: #10203a;
    }
}

@keyframes ap-launch-border {
    0%, 100% {
        border-color: rgba(95, 119, 255, 0.32);
        box-shadow:
            0 0 0 1px rgba(255, 122, 89, 0.18),
            0 0 20px rgba(95, 119, 255, 0.22),
            0 0 34px rgba(70, 228, 208, 0.14);
    }
    33% {
        border-color: rgba(255, 122, 89, 0.38);
        box-shadow:
            0 0 0 1px rgba(70, 228, 208, 0.18),
            0 0 24px rgba(255, 122, 89, 0.24),
            0 0 38px rgba(95, 119, 255, 0.12);
    }
    66% {
        border-color: rgba(70, 228, 208, 0.34);
        box-shadow:
            0 0 0 1px rgba(95, 119, 255, 0.18),
            0 0 24px rgba(70, 228, 208, 0.22),
            0 0 38px rgba(255, 122, 89, 0.12);
    }
}

/* ====================================
   LIGHT MODE FIXES
   ==================================== */

.ap-signal-card h2,
.ap-signal-card p,
.ap-price-head h3,
.ap-price-value,
.ap-price-card .ap-feature-table th,
.ap-price-card .ap-feature-table td,
.ap-launch-box strong,
.ap-launch-box p,
.ap-page .ap-section-head h2,
.ap-page .ap-section-head p,
.ap-page-hero h1,
.ap-page-hero .ap-page-intro {
    color: #10203a;
}

.ap-price-value span,
.ap-price-card .ap-chip,
.ap-nav-link:hover,
.ap-nav-link-cta {
    color: #2f6bd9;
}

.ap-price-card .ap-feature-table th {
    font-weight: 700;
}

.ap-price-card-featured .ap-price-head p,
.ap-price-card-featured .ap-feature-table td {
    color: rgba(16, 32, 58, 0.72);
}

.ap-price-card-featured > .ap-price-head > .ap-chip {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
}
