/* ============================================
   AK-Sens — "Precision Engineering" Design System
   Clean, authoritative, with luminous technical depth.
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Core palette */
    --aksens-primary: #0a1f44;
    --aksens-primary-rgb: 10, 31, 68;
    --aksens-navy-deep: #06132e;
    --aksens-navy-mid: #0e2a55;
    --aksens-primary-light: #3a57e8;
    --aksens-primary-light-rgb: 58, 87, 232;
    --aksens-accent: #4a6cf7;
    --aksens-accent-rgb: 74, 108, 247;
    --aksens-secondary: #d89313;
    --aksens-secondary-light: #f0a820;
    --aksens-secondary-rgb: 216, 147, 19;

    /* Neutrals */
    --aksens-white: #ffffff;
    --aksens-off-white: #f7f8fc;
    --aksens-light-gray: #eef1f8;
    --aksens-mid-gray: #dde2ef;
    --aksens-border: #e4e8f2;
    --aksens-dark: #0d1117;
    --aksens-text: #2d3748;
    --aksens-text-light: #64748b;
    --aksens-text-muted: #94a3b8;

    /* Typography */
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing & Layout */
    --section-padding: 110px 0;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(var(--aksens-primary-rgb), 0.05);
    --shadow-md: 0 4px 20px rgba(var(--aksens-primary-rgb), 0.08);
    --shadow-lg: 0 8px 40px rgba(var(--aksens-primary-rgb), 0.10);
    --shadow-xl: 0 16px 56px rgba(var(--aksens-primary-rgb), 0.14);
    --shadow-glow: 0 0 40px rgba(var(--aksens-accent-rgb), 0.15);
}

/* ============================================
   Global Resets & Base Typography
   ============================================ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--aksens-text);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--aksens-white);
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--aksens-primary);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.15;
    text-wrap: balance;
}

p {
    letter-spacing: 0.005em;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Section Base — with diagonal dividers
   ============================================ */
.aksens-section {
    padding: var(--section-padding);
    position: relative;
}

.aksens-section--dark {
    background-color: var(--aksens-primary);
    color: rgba(255,255,255,0.9);
}

.aksens-section--dark h2,
.aksens-section--dark h3,
.aksens-section--dark h4 {
    color: var(--aksens-white);
}

.aksens-section--light {
    background-color: var(--aksens-off-white);
}

/* Subtle noise texture overlay for depth */
.aksens-section--light::after {
    content: '';
    position: absolute;
    inset: 0;
    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 type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Angled Section Dividers
   ============================================ */

/* Sections that clip their bottom edge diagonally */
.aksens-section--angled-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
    padding-bottom: calc(110px + 60px); /* extra space for the clipped area */
}

/* Sections that clip their top edge to receive the angle from above */
.aksens-section--angled-top {
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
    padding-top: calc(110px + 60px);
    position: relative;
    z-index: 1;
}

/* Combined: receives angle from above AND clips bottom */
.aksens-section--angled-both {
    clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
    margin-top: -60px;
    padding-top: calc(110px + 60px);
    padding-bottom: calc(110px + 60px);
    position: relative;
    z-index: 1;
}

/* Responsive: reduce angle on mobile */
@media (max-width: 768px) {
    .aksens-section--angled-bottom {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
        padding-bottom: calc(80px + 30px);
    }
    .aksens-section--angled-top {
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
        margin-top: -30px;
        padding-top: calc(80px + 30px);
    }
    .aksens-section--angled-both {
        clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
        margin-top: -30px;
        padding-top: calc(80px + 30px);
        padding-bottom: calc(80px + 30px);
    }
}

/* ============================================
   Fiber-Optic Light Trail Decorations
   ============================================ */
.aksens-fiber-trail {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aksens-fiber-trail svg {
    width: 100%;
    height: 100%;
}

.aksens-fiber-trail path {
    fill: none;
    stroke: rgba(var(--aksens-accent-rgb), 0.07);
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* Glowing variant */
.aksens-fiber-trail--glow path {
    stroke: rgba(var(--aksens-accent-rgb), 0.12);
    filter: drop-shadow(0 0 6px rgba(var(--aksens-accent-rgb), 0.15));
}

/* Secondary color variant */
.aksens-fiber-trail--gold path {
    stroke: rgba(var(--aksens-secondary-rgb), 0.06);
}

/* Hide decorations on small screens to reduce visual noise */
@media (max-width: 768px) {
    .aksens-fiber-trail {
        display: none;
    }
}

.aksens-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Section Titles — refined accent system
   ============================================ */
.aksens-section-title {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 400;
    margin-bottom: 1.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.aksens-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--aksens-accent), var(--aksens-secondary));
    border-radius: 2px;
}

/* Gradient text treatment for section titles */
.aksens-section--light .aksens-section-title,
.aksens-section:not(.aksens-section--dark):not(.aksens-contact) > .aksens-container > .aksens-section-title {
    background: linear-gradient(135deg, var(--aksens-primary) 0%, var(--aksens-navy-mid) 50%, var(--aksens-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aksens-section-subtitle {
    font-size: 1.05rem;
    color: var(--aksens-text-light);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    font-weight: 400;
}

/* ============================================
   Navigation — precision glass header
   ============================================ */
header.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: 90px;
    background-color: rgba(var(--aksens-primary-rgb), 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

header.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

header.site-header .aksens-container {
    width: 100%;
    padding: 0 40px;
}

@media (min-width: 769px) {
    header.site-header .main-navigation {
        background-color: transparent !important;
    }
}

/* Nav links */
.aksens-nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.aksens-nav-list li {
    list-style: none;
}

.aksens-nav-list a {
    color: rgba(255,255,255,0.75);
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color var(--transition-fast);
    position: relative;
    padding-bottom: 6px;
}

.aksens-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--aksens-secondary-light);
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
    border-radius: 1px;
}

.aksens-nav-list a:hover::after,
.aksens-nav-list a.active::after {
    width: 100%;
    left: 0;
}

.aksens-nav-list a:hover,
.aksens-nav-list a.active {
    color: var(--aksens-white) !important;
}

body .site-header .aksens-nav-list a {
    color: rgba(255,255,255,0.75) !important;
}

body .site-header .aksens-nav-list a:hover,
body .site-header .aksens-nav-list a.active {
    color: var(--aksens-white) !important;
}

/* ============================================
   Hero Section — modern left-aligned with CTAs
   ============================================ */
.aksens-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--aksens-navy-deep);
    background-size: cover;
    background-position: center;
    color: var(--aksens-white);
    padding: 160px 24px 120px;
    overflow: hidden;
    position: relative;
}

/* Dark overlay with subtle gradient lighting */
.aksens-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 80% 50%, rgba(var(--aksens-accent-rgb), 0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(var(--aksens-primary-rgb), 0.92) 0%, rgba(var(--aksens-primary-rgb), 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

.aksens-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, transparent 30%, rgba(6,19,46,0.5) 100%);
    pointer-events: none;
}

.aksens-hero .aksens-container {
    position: relative;
    z-index: 1;
}

.aksens-hero-content {
    max-width: 720px;
}

.aksens-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--aksens-secondary-light);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: heroFadeIn 0.8s var(--ease-out) 0.2s forwards;
}

.aksens-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    color: var(--aksens-white);
    margin-bottom: 1.5rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
    opacity: 0;
    animation: heroFadeIn 0.8s var(--ease-out) 0.35s forwards;
}

.aksens-hero .tagline {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 580px;
    margin: 0 0 2.5rem;
    opacity: 0;
    line-height: 1.8;
    letter-spacing: 0.01em;
    animation: heroFadeIn 0.8s var(--ease-out) 0.5s forwards;
}

/* Dual CTA buttons */
.aksens-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeIn 0.8s var(--ease-out) 0.65s forwards;
}

.aksens-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    letter-spacing: 0.01em;
}

.aksens-btn--primary {
    background: linear-gradient(135deg, var(--aksens-secondary), var(--aksens-secondary-light));
    color: var(--aksens-white) !important;
    box-shadow: 0 4px 20px rgba(var(--aksens-secondary-rgb), 0.4);
}

.aksens-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--aksens-secondary-rgb), 0.5);
}

.aksens-btn--ghost {
    background: rgba(255,255,255,0.08);
    color: var(--aksens-white) !important;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.aksens-btn--ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

.aksens-btn-arrow {
    transition: transform 0.2s var(--ease-out);
    display: inline-block;
}

.aksens-btn--ghost:hover .aksens-btn-arrow {
    transform: translateX(4px);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ============================================
   Stats Bar — key metrics trust strip
   ============================================ */
.aksens-stats-bar {
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf4 100%);
    border-top: 1px solid rgba(var(--aksens-primary-rgb), 0.06);
    border-bottom: 1px solid rgba(var(--aksens-primary-rgb), 0.06);
    padding: 3rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.aksens-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.aksens-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

/* Vertical dividers between stats */
.aksens-stat + .aksens-stat::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(var(--aksens-primary-rgb), 0.1);
}

.aksens-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3.5vw, 3rem);
    color: var(--aksens-accent);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.aksens-stat-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--aksens-text-light);
}

/* ============================================
   Technology Items — 2025 editorial layout
   ============================================ */
.aksens-tech-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
}

.aksens-tech-card {
    position: relative;
    padding: 2rem 2.5rem 2.5rem;
    text-align: left;
    border-top: 2px solid var(--aksens-accent);
    transition: background var(--transition);
}

/* Colored top borders per card */
.aksens-tech-card:nth-child(2) {
    border-top-color: var(--aksens-secondary);
    border-left: 1px solid var(--aksens-border);
    border-right: 1px solid var(--aksens-border);
}

.aksens-tech-card:nth-child(3) {
    border-top-color: #7c3aed;
}

.aksens-tech-card:hover {
    background: rgba(var(--aksens-accent-rgb), 0.03);
}

/* Remove card-specific pseudo-elements */
.aksens-tech-card::before,
.aksens-tech-card::after {
    display: none;
}

/* Tech label — shown as monospace pill tag */
.aksens-tech-label {
    display: inline-block;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aksens-accent);
    background: rgba(var(--aksens-accent-rgb), 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.aksens-tech-card:nth-child(2) .aksens-tech-label {
    color: var(--aksens-secondary);
    background: rgba(var(--aksens-secondary-rgb), 0.1);
}

.aksens-tech-card:nth-child(3) .aksens-tech-label {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
}

/* ── Icons — clean, no container ── */
.aksens-tech-icon {
    margin: 0 0 1.25rem;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.aksens-tech-card:hover .aksens-tech-icon {
    transform: scale(1.08);
}

.aksens-tech-icon img {
    transition: var(--transition);
    width: 64px;
    height: 64px;
}

.aksens-tech-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--aksens-primary);
}

.aksens-tech-card p {
    color: var(--aksens-text-light);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   How It Works — clean diagram presentation
   ============================================ */
.aksens-section > .aksens-container > div[style*="text-align:center"] img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--aksens-border);
}

/* ============================================
   Advantages — Glass Feature Grid on dark slate
   ============================================ */
.aksens-advantages-section {
    background: linear-gradient(170deg, #111827 0%, #1e293b 50%, #1a2332 100%);
    background-image:
        radial-gradient(ellipse 70% 50% at 15% 30%, rgba(var(--aksens-accent-rgb), 0.05) 0%, transparent 100%),
        radial-gradient(ellipse 50% 40% at 85% 75%, rgba(var(--aksens-secondary-rgb), 0.04) 0%, transparent 100%),
        linear-gradient(170deg, #111827 0%, #1e293b 50%, #1a2332 100%);
}

.aksens-adv-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}

.aksens-adv-header h2 {
    font-size: 2.8rem;
    color: var(--aksens-white);
    margin: 0;
}

.aksens-adv-tagline {
    color: var(--aksens-secondary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    margin: 0.5rem 0 0;
}

.aksens-adv-description {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
    max-width: 520px;
}

/* ── 3x2 Feature Card Grid ── */
.aksens-advantages-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.aksens-adv-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

/* Subtle top glow on hover */
.aksens-adv-row::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 0%, rgba(var(--aksens-accent-rgb), 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.aksens-adv-row:hover {
    border-color: rgba(var(--aksens-accent-rgb), 0.2);
    background: rgba(255,255,255,0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 24px rgba(var(--aksens-accent-rgb), 0.06);
}

.aksens-adv-row:hover::before {
    opacity: 1;
}

/* Number — large decorative watermark */
.aksens-adv-num {
    position: absolute;
    top: 10px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: rgba(255,255,255,0.035);
    line-height: 1;
    z-index: 0;
    transition: color var(--transition);
}

.aksens-adv-row:hover .aksens-adv-num {
    color: rgba(var(--aksens-secondary-rgb), 0.12);
}

/* Icon — centered, larger */
.aksens-adv-icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(var(--aksens-accent-rgb), 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.aksens-adv-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity var(--transition);
}

.aksens-adv-row:hover .aksens-adv-icon {
    border-color: rgba(var(--aksens-accent-rgb), 0.3);
    background: rgba(var(--aksens-accent-rgb), 0.12);
    transform: scale(1.08);
}

.aksens-adv-row:hover .aksens-adv-icon img {
    opacity: 1;
}

/* Content — centered text */
.aksens-adv-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.aksens-adv-content h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--aksens-white);
    margin: 0 0 0.5rem;
}

.aksens-adv-content p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Market & Expertise — cinematic image cards
   ============================================ */
.aksens-market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

/* Bento layout: cards 1, 4, 6 span 2 columns for alternating wide/narrow rows */
.aksens-market-grid .aksens-market-card:nth-child(1),
.aksens-market-grid .aksens-market-card:nth-child(4),
.aksens-market-grid .aksens-market-card:nth-child(6) {
    grid-column: span 2;
}

.aksens-market-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
    /* Fallback gradient when no image */
    background-color: var(--aksens-primary);
}

/* Overlay gradient */
.aksens-market-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 19, 46, 0.92) 0%,
        rgba(10, 31, 68, 0.5) 45%,
        rgba(10, 31, 68, 0.15) 75%,
        rgba(10, 31, 68, 0.05) 100%
    );
    transition: var(--transition);
}

.aksens-market-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.aksens-market-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(6, 19, 46, 0.95) 0%,
        rgba(10, 31, 68, 0.55) 45%,
        rgba(10, 31, 68, 0.2) 75%,
        rgba(10, 31, 68, 0.1) 100%
    );
}

.aksens-market-card-content {
    position: relative;
    z-index: 1;
    padding: 1.75rem;
    color: var(--aksens-white);
}

.aksens-market-card h3 {
    color: var(--aksens-white);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    transition: color var(--transition);
}

.aksens-market-card:hover h3 {
    color: var(--aksens-secondary-light);
}

.aksens-market-card p {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.65;
    transition: opacity var(--transition);
    margin: 0;
}

.aksens-market-card:hover p {
    opacity: 0.95;
}

/* ============================================
   Why Us — 2025 modern split layout
   ============================================ */
#WhyUs {
    position: relative;
    background: linear-gradient(170deg, #f0f4f8 0%, #e8eef6 100%);
}

.aksens-why-us {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 5rem;
    align-items: center;
}

.aksens-why-us-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.aksens-why-us-image::before {
    display: none;
}

.aksens-why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transition: transform 0.7s var(--ease-out);
}

.aksens-why-us-image:hover img {
    transform: scale(1.03);
}

.aksens-why-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.aksens-why-us-content .punchline {
    font-size: 1rem;
    color: var(--aksens-accent);
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.aksens-why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: why-counter;
}

.aksens-why-us-list li {
    counter-increment: why-counter;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--aksens-border);
    color: var(--aksens-text);
    transition: padding-left var(--transition), color var(--transition);
    line-height: 1.5;
}

.aksens-why-us-list li:last-child {
    border-bottom: none;
}

/* Numbered counter instead of gradient circles */
.aksens-why-us-list li::before {
    content: counter(why-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--aksens-accent);
    letter-spacing: 0.05em;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.aksens-why-us-list li::after {
    display: none;
}

.aksens-why-us-list li:hover {
    padding-left: 3.25rem;
    color: var(--aksens-primary);
}

.aksens-partnership-note {
    margin-top: 2rem;
    padding: 1.15rem 1.5rem;
    background: var(--aksens-off-white);
    border-left: 2px solid var(--aksens-accent);
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--aksens-text-light);
    line-height: 1.7;
}

/* ============================================
   About Section — editorial two-column
   ============================================ */
.aksens-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.aksens-about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.aksens-about-content .subtitle {
    color: var(--aksens-accent);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
}

.aksens-about-content p {
    margin-bottom: 0.85rem;
    line-height: 1.8;
    font-size: 0.925rem;
}

.aksens-about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: linear-gradient(135deg, var(--aksens-primary), var(--aksens-navy-mid));
    aspect-ratio: 4/3;
}

.aksens-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-out);
}

.aksens-about-image:hover img {
    transform: scale(1.04);
}

/* Mission statement — full-width callout */
.aksens-mission {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--aksens-border);
    position: relative;
    text-align: center;
}

.aksens-mission-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.aksens-mission-label {
    display: inline-block;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aksens-accent);
    background: rgba(var(--aksens-accent-rgb), 0.07);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.aksens-mission blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--aksens-primary);
    font-style: normal;
    font-weight: 400;
    position: relative;
}

.aksens-mission blockquote::before {
    content: '\201C';
    display: block;
    font-size: 4rem;
    color: var(--aksens-accent);
    opacity: 0.2;
    line-height: 0.5;
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
}

.aksens-mission blockquote::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--aksens-accent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ============================================
   Contact Section — bold CTA with glow
   ============================================ */
.aksens-contact {
    text-align: center;
    background-color: var(--aksens-primary);
    background-size: cover;
    background-position: center;
    color: var(--aksens-white);
    position: relative;
    overflow: hidden;
}

/* Dark overlay for text readability over photo */
.aksens-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--aksens-primary-rgb), 0.82);
    z-index: 0;
}

.aksens-contact .aksens-container {
    position: relative;
    z-index: 1;
}

.aksens-contact h2 {
    color: var(--aksens-white);
}

.aksens-contact .aksens-section-title::after {
    background: linear-gradient(90deg, var(--aksens-secondary), var(--aksens-secondary-light));
}

.aksens-contact p {
    font-size: 1.05rem;
    opacity: 0.75;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.aksens-contact-email {
    display: inline-block;
    padding: 0.95rem 2.5rem;
    background: linear-gradient(135deg, var(--aksens-secondary), var(--aksens-secondary-light));
    color: var(--aksens-white) !important;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 24px rgba(var(--aksens-secondary-rgb), 0.35);
    letter-spacing: 0.01em;
}

.aksens-contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(var(--aksens-secondary-rgb), 0.45);
    color: var(--aksens-white) !important;
}

/* ============================================
   Footer — minimal and refined
   ============================================ */
.aksens-footer {
    background: var(--aksens-dark);
    color: var(--aksens-white);
    padding: 2.5rem 0;
    text-align: center;
}

.aksens-footer-social {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

.aksens-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--aksens-white) !important;
    text-decoration: none !important;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.08);
}

.aksens-footer-social a:hover {
    background: var(--aksens-accent);
    border-color: var(--aksens-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--aksens-accent-rgb), 0.3);
}

.aksens-footer-social a svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Custom Logo (WP Customizer)
   ============================================ */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
    opacity: 0.85;
}

.custom-logo-link .custom-logo {
    width: 100px;
    height: auto;
}

/* ============================================
   Mobile Menu
   ============================================ */
.aksens-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.aksens-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--aksens-white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* ============================================
   Scroll Animations — orchestrated reveals
   ============================================ */
.aksens-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered card reveals */
.aksens-tech-showcase .aksens-animate:nth-child(2) { transition-delay: 0.1s; }
.aksens-tech-showcase .aksens-animate:nth-child(3) { transition-delay: 0.2s; }

.aksens-advantages-list .aksens-animate:nth-child(2) { transition-delay: 0.06s; }
.aksens-advantages-list .aksens-animate:nth-child(3) { transition-delay: 0.12s; }
.aksens-advantages-list .aksens-animate:nth-child(4) { transition-delay: 0.18s; }
.aksens-advantages-list .aksens-animate:nth-child(5) { transition-delay: 0.24s; }
.aksens-advantages-list .aksens-animate:nth-child(6) { transition-delay: 0.30s; }

.aksens-market-grid .aksens-animate:nth-child(2) { transition-delay: 0.07s; }
.aksens-market-grid .aksens-animate:nth-child(3) { transition-delay: 0.14s; }
.aksens-market-grid .aksens-animate:nth-child(4) { transition-delay: 0.21s; }
.aksens-market-grid .aksens-animate:nth-child(5) { transition-delay: 0.28s; }
.aksens-market-grid .aksens-animate:nth-child(6) { transition-delay: 0.35s; }

/* Section dividers handled by angled clip-path classes */

/* ============================================
   Responsive — tablet
   ============================================ */
@media (max-width: 992px) {
    .aksens-tech-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .aksens-advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .aksens-adv-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .aksens-adv-header h2 {
        font-size: 2.2rem;
    }

    .aksens-market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aksens-market-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .aksens-market-grid .aksens-market-card:nth-child(1),
    .aksens-market-grid .aksens-market-card:nth-child(4),
    .aksens-market-grid .aksens-market-card:nth-child(6) {
        grid-column: span 1;
    }

    .aksens-why-us,
    .aksens-about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .aksens-why-us-image,
    .aksens-about-image {
        aspect-ratio: 16/9;
    }

    .aksens-section-title {
        font-size: 2.15rem;
    }

    :root {
        --section-padding: 80px 0;
    }
}

/* ============================================
   Responsive — mobile
   ============================================ */
@media (max-width: 768px) {
    header.site-header {
        background-color: var(--aksens-primary) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .aksens-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none !important;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--aksens-primary);
        padding: 0;
        border: none !important;
        box-shadow: none;
        z-index: 999;
    }

    header.site-header .main-navigation.is-open {
        display: block !important;
        background-color: var(--aksens-primary) !important;
        border-top: 1px solid rgba(255,255,255,0.06);
        border-bottom: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        padding: 0.5rem 0;
    }

    .main-navigation.is-open .aksens-nav-list,
    .main-navigation.is-open ul {
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }

    .aksens-nav-list {
        flex-direction: column;
        gap: 0;
    }

    .aksens-nav-list a {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }

    .aksens-nav-list a::after {
        display: none;
    }

    .aksens-hero {
        padding: 120px 20px 80px;
        min-height: 60vh;
    }

    .aksens-hero h1 {
        font-size: 1.75rem;
    }

    .aksens-hero .tagline {
        font-size: 1rem;
    }

    .aksens-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    .aksens-stats-bar {
        padding: 2.5rem 0;
    }

    .aksens-why-us-image,
    .aksens-about-image {
        aspect-ratio: 3/2;
    }
}

/* ============================================
   Responsive — small mobile
   ============================================ */
@media (max-width: 576px) {
    .aksens-tech-showcase,
    .aksens-market-grid {
        grid-template-columns: 1fr;
    }

    .aksens-advantages-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .aksens-adv-row {
        padding: 1.5rem 1rem;
    }

    .aksens-adv-num {
        font-size: 2.5rem;
    }

    .aksens-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aksens-hero h1 {
        font-size: 1.55rem;
    }

    .aksens-section-title {
        font-size: 1.65rem;
    }

    :root {
        --section-padding: 60px 0;
    }

    .aksens-why-us,
    .aksens-about {
        gap: 2rem;
    }

    .aksens-market-grid {
        grid-auto-rows: 220px;
    }
}

/* ============================================
   Reduced Motion — accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .aksens-animate {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   GeneratePress Overrides — clean slate
   ============================================ */
.site-content {
    padding: 0 !important;
}

.inside-article {
    padding: 0 !important;
}

.entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.separate-containers .inside-article {
    padding: 0 !important;
}

.one-container .site-content {
    padding: 0 !important;
}

.site-main {
    margin: 0 !important;
}

.content-area {
    width: 100% !important;
}

.is-right-sidebar,
.is-left-sidebar {
    display: none !important;
}

/* Hide GeneratePress default header/branding */
#site-navigation {
    display: none !important;
}

.site-branding {
    display: none !important;
}

/* Override any GP container padding */
.site-content .hentry {
    margin: 0 !important;
}

.page .entry-title {
    display: none !important;
}
