/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #533483;
    --cta: #e94560;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text: #333333;
    --muted: #6c757d;
    --border: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--highlight), var(--cta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.navbar.scrolled {
    background: #ffffff;
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-logo-image {
    display: block;
    width: auto;
}

.nav-logo-image-header {
    height: 58px;
}

.nav-logo-image-footer {
    height: 56px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(15, 52, 96, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: transparent;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 3px;
}

/* ===== Nav Dropdown ===== */
.nav-item {
    position: relative;
}
.nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-item > .nav-link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
    margin-left: 2px;
}
.nav-item:hover > .nav-link::after,
.nav-item.open > .nav-link::after {
    transform: rotate(-135deg) translateY(-2px);
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 220px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 9px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-dropdown a:hover {
    color: var(--primary);
    background: rgba(15, 52, 96, 0.05);
}

/* ===== Nav Right Area ===== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== Nav Link CTA (Contact button) ===== */
.nav-link-cta {
    background: linear-gradient(135deg, var(--accent), var(--highlight)) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    box-shadow: 0 2px 12px rgba(15, 52, 96, 0.2);
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--highlight), var(--cta)) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(83, 52, 131, 0.35) !important;
}

.nav-link-cta.active {
    background: linear-gradient(135deg, var(--accent), var(--highlight)) !important;
    color: var(--white) !important;
}

.nav-link-cta.active::after {
    display: none;
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
    letter-spacing: 0.03em;
}

.lang-btn:hover {
    background: rgba(15, 52, 96, 0.08);
    border-color: rgba(15, 52, 96, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lang-globe {
    opacity: 0.55;
}

.lang-arrow {
    opacity: 0.4;
    transition: var(--transition);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    min-width: 175px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--light-bg);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.06), rgba(83, 52, 131, 0.06));
    color: var(--accent);
    font-weight: 700;
}

.lang-check {
    margin-left: auto;
    opacity: 0;
    color: var(--accent);
    transition: var(--transition);
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* ===== Nav Divider ===== */
.nav-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 880px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.92) 0%,
        rgba(22, 33, 62, 0.85) 40%,
        rgba(83, 52, 131, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    padding: 140px 24px 40px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cta), #d63851);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero Stats ===== */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Sections ===== */
.section {
    padding: 70px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.08), rgba(83, 52, 131, 0.08));
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
}

.feature-icon-small {
    width: 24px;
    height: 24px;
    color: var(--cta);
    flex-shrink: 0;
}

.feature-icon-small svg {
    width: 100%;
    height: 100%;
}

/* ===== SEO Section ===== */
#seo {
    padding-bottom: 24px;
}

.seo-panel {
    width: 100%;
    margin: 0 auto;
    padding: 40px 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.seo-copy {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
    margin-top: 16px;
}

.seo-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.seo-topic-card {
    background: var(--white);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-md);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
}

.seo-topic-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.seo-topic-text {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.98rem;
}

/* ===== Why Choose Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.why-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--highlight), var(--cta));
}

.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15,52,96,0.08), rgba(83,52,131,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.why-card-title {
    color: var(--primary);
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-card-text {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.landing-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.landing-links-centered {
    grid-template-columns: repeat(3, minmax(260px, 360px));
    justify-content: center;
}

.landing-link-card {
    display: block;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-md);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-sm);
}

.landing-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(15,52,96,0.08), rgba(83,52,131,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.landing-link-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.landing-link-title {
    color: var(--primary);
    font-size: 1.06rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.landing-link-text {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ===== Services Section ===== */
#teenused {
    padding-top: 24px;
}

#miks {
    padding-bottom: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), var(--highlight), var(--cta));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    padding-left: 20px;
    position: relative;
}

.showcase-strip {
    padding-top: 56px;
    padding-bottom: 12px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.showcase-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.showcase-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #eef2f7;
}

.showcase-body {
    padding: 18px 20px 20px;
}

.showcase-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.showcase-title-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.showcase-card:hover .showcase-title-link {
    color: var(--accent);
}

.showcase-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}



.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
}

/* ===== Portfolio Section ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-grid-single {
    grid-template-columns: 1fr;
}

.portfolio-card-large {
    grid-row: span 1;
}

.portfolio-grid-single .portfolio-card-large {
    grid-row: span 1;
}

.portfolio-card {
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.portfolio-card-large .portfolio-image {
    min-height: 240px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-card-link {
    display: block;
    color: inherit;
    border-radius: inherit;
    overflow: hidden;
}

.portfolio-image-gradient {
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image-gradient-alt {
    background: linear-gradient(135deg, var(--highlight), var(--cta));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.6;
}

.portfolio-image-site {
    padding: 0;
    display: flex;
    align-items: stretch;
    border-radius: inherit;
    overflow: hidden;
}

.portfolio-showcase {
    position: relative;
    width: 100%;
    min-height: 240px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.portfolio-layout--hero .portfolio-showcase,
.portfolio-layout--stack-top .portfolio-showcase,
.portfolio-layout--stack-bottom .portfolio-showcase,
.portfolio-layout--tile .portfolio-showcase {
    min-height: 240px;
}

.portfolio-showcase-grid,
.portfolio-showcase-orb {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.portfolio-showcase-grid {
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 100%);
}

.portfolio-showcase-orb {
    inset: auto -12% -18% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 72%);
    filter: blur(6px);
    opacity: 0.9;
}

.portfolio-showcase--aurora {
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.36), transparent 34%),
        linear-gradient(135deg, #f1eee8 0%, #d8d0c8 46%, #c7bbb1 100%);
}

.portfolio-showcase--midnight {
    background:
        radial-gradient(circle at 82% 18%, rgba(119, 170, 255, 0.28), transparent 28%),
        linear-gradient(145deg, #172033 0%, #243a63 58%, #314b76 100%);
}

.portfolio-showcase--violet {
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(135deg, #3f3486 0%, #5848a8 52%, #7665c8 100%);
}

.portfolio-showcase--sunset {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.24), transparent 30%),
        linear-gradient(135deg, #7d2b7b 0%, #a93f7d 45%, #ea5b70 100%);
}

.portfolio-showcase--mist {
    background:
        radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.32), transparent 28%),
        linear-gradient(135deg, #dde3ea 0%, #cdd7e4 46%, #b7c7da 100%);
}

.portfolio-mac-window {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.portfolio-mac-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px 14px;
    background: #f6f7f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portfolio-mac-dots {
    display: flex;
    gap: 6px;
}

.portfolio-mac-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.portfolio-mac-dots span:nth-child(1) {
    background: #ff5f57;
}

.portfolio-mac-dots span:nth-child(2) {
    background: #febc2e;
}

.portfolio-mac-dots span:nth-child(3) {
    background: #28c840;
}

.portfolio-mac-domain {
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.portfolio-mac-screen {
    position: relative;
    width: 100%;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ffffff;
}

.portfolio-mac-screen .portfolio-browser-shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.portfolio-card:hover .portfolio-showcase {
    filter: brightness(1.01);
}

.portfolio-browser {
    width: 100%;
    min-height: 100%;
    border-radius: inherit;
    overflow: hidden;
    border: 1px solid rgba(15, 52, 96, 0.08);
    background: #ffffff;
    box-shadow: none;
    transition: background-color 0.25s ease;
}

.portfolio-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 52, 96, 0.08);
}

.portfolio-browser-dots {
    display: flex;
    gap: 6px;
}

.portfolio-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.portfolio-browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.portfolio-browser-dots span:nth-child(2) {
    background: #febc2e;
}

.portfolio-browser-dots span:nth-child(3) {
    background: #28c840;
}

.portfolio-browser-url {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f4f6f9;
    color: rgba(22, 33, 62, 0.72);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.portfolio-browser-screen {
    position: relative;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.portfolio-browser-screen-image {
    width: 100%;
    min-height: 360px;
    padding: 0;
    display: flex;
    background: #ffffff;
    line-height: 0;
}

.portfolio-card:hover .portfolio-browser,
.portfolio-card:hover .portfolio-browser-bar,
.portfolio-card:hover .portfolio-browser-screen-image {
    background: #f3f4f6;
}

.portfolio-browser-shot {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.portfolio-browser-glow {
    position: absolute;
    inset: 30px 30px auto auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2) 0%, rgba(233, 69, 96, 0) 68%);
    filter: blur(8px);
    display: none;
}

.portfolio-browser-panel {
    position: relative;
    z-index: 1;
    width: min(380px, 100%);
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 52, 96, 0.08);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.portfolio-browser-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(15, 52, 96, 0.6);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.portfolio-browser-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(15, 52, 96, 0.24);
}

.portfolio-browser-brand {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.portfolio-browser-copy {
    max-width: 28ch;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pricing-card-featured {
    position: relative;
    border-color: rgba(15, 52, 96, 0.16);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.pricing-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.1), rgba(83, 52, 131, 0.1));
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-name {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.pricing-price {
    margin-bottom: 16px;
    color: var(--cta);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-desc {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
}

/* ===== FAQ Section ===== */
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

.faq-item {
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
}

.faq-answer {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-copy {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(15, 52, 96, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
    color: var(--accent);
}

.form-success.show {
    display: block;
}

.form-success.show + .contact-form,
.form-success.show ~ .contact-form {
    display: none;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0 8px;
}

.form-success p {
    color: var(--muted);
    font-size: 0.95rem;
}

.form-error {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(233, 69, 96, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(233, 69, 96, 0.08);
    color: #a22a43;
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-error.show {
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--white);
}

/* ===== Policy Page ===== */
.policy-hero {
    padding: 160px 0 56px;
    background:
        radial-gradient(circle at top right, rgba(83, 52, 131, 0.16), transparent 32%),
        radial-gradient(circle at top left, rgba(15, 52, 96, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.policy-shell {
    max-width: 900px;
    margin: 0 auto;
}

.policy-eyebrow {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(15, 52, 96, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.policy-title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.policy-lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.policy-card {
    background: var(--white);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px 34px;
}

.policy-stack {
    display: grid;
    gap: 26px;
}

.policy-block h2 {
    color: var(--primary);
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.policy-block p,
.policy-block li {
    color: var(--muted);
    line-height: 1.8;
}

.policy-block ul {
    display: grid;
    gap: 10px;
    padding-left: 0;
    list-style: none;
}
.policy-block li::before {
    content: "– ";
    color: var(--accent);
    font-weight: 600;
}

.policy-note {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 52, 96, 0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===== Service Pages (sp-*) ===== */

/* Hero */
.sp-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 55%, var(--highlight) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}
.sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 40%, rgba(83, 52, 131, 0.45) 0%, transparent 60%);
    pointer-events: none;
}
.sp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
}
.sp-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.83rem;
    line-height: 1.6;
}
.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}
.sp-breadcrumb a:hover {
    color: #fff;
}
.sp-breadcrumb [aria-current="page"] {
    color: #fff;
}
.sp-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}
.sp-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    backdrop-filter: blur(8px);
}
.sp-hero-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    fill: none;
}
.sp-hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 6px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sp-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #fff;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.sp-hero-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    max-width: 100%;
}
.sp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}
.sp-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    color: var(--accent);
}

/* Sections */
.sp-section {
    padding: 64px 0;
}
.sp-section-alt {
    background: var(--light-bg);
}
.sp-section-header {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 40px;
}

.sp-section > .container > h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.sp-section > .container > p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.sp-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.sp-section-header p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

/* Feature Cards Grid */
.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.sp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: var(--transition);
}
.sp-section-alt .sp-card {
    background: var(--white);
}
.sp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.sp-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.08), rgba(83, 52, 131, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.sp-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
}
.sp-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.35;
}
.sp-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

.about-simple-hero {
    max-width: 980px;
    margin: 0 auto;
}

.about-simple-copy {
    text-align: center;
}

.about-simple-copy .sp-breadcrumb {
    justify-content: center;
}

.about-simple-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.about-simple-visual {
    position: relative;
}

.about-simple-image {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-simple-panel {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    box-shadow: 0 18px 40px rgba(9, 19, 36, 0.2);
}

.about-simple-metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.about-simple-points {
    display: grid;
    gap: 10px;
}

.about-simple-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

/* About page */
.about-hero {
    text-align: left;
}

.about-hero .sp-breadcrumb,
.about-hero .sp-hero-icon {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
}

.about-hero .sp-hero-title,
.about-hero .sp-hero-lead {
    margin-left: 0;
    margin-right: 0;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px);
    gap: 36px;
    align-items: center;
}

.about-hero-copy {
    max-width: 760px;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.about-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.about-hero-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-hero-stat {
    padding: 18px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.about-hero-stat strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.about-hero-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.45;
}

.about-hero-panel {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 80px rgba(10, 22, 40, 0.24);
    backdrop-filter: blur(14px);
}

.about-hero-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-hero-panel h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 14px;
}

.about-hero-panel p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.72;
    margin-bottom: 22px;
}

.about-checklist {
    display: grid;
    gap: 12px;
}

.about-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
}

.about-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
}

.about-story-grid {
    align-items: start;
}

.about-feature-panels {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.about-feature-panel {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    border: 1px solid var(--border);
}

.about-feature-panel strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1rem;
}

.about-feature-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.94rem;
}

.about-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-showcase-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.about-showcase-media {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.about-showcase-body {
    padding: 24px;
}

.about-showcase-body h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.about-showcase-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

/* Process Timeline */
.sp-timeline {
    display: flex;
    flex-direction: column;
    max-width: 820px;
    margin: 0 auto;
}

.sp-timeline-wide {
    max-width: 100%;
}
.sp-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    position: relative;
}
.sp-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 64px;
    height: 40px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(15, 52, 96, 0.3), transparent);
}
.sp-step-num {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(15, 52, 96, 0.22);
}
.sp-step-body {
    padding: 14px 0 40px;
}
.sp-step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.sp-step-body p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Stats Strip */
.sp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 0;
}
.sp-stat {
    background: var(--white);
    padding: 40px 24px;
    text-align: center;
}
.sp-stat-num {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.sp-stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}

/* FAQ */
.sp-faq {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-faq-wide {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.sp-faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    transition: var(--transition);
}
.sp-faq-item:hover {
    border-color: rgba(15, 52, 96, 0.2);
    box-shadow: var(--shadow-sm);
}
.sp-faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.sp-faq-item p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}

/* CTA Section */
.sp-cta {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 55%, var(--highlight) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.sp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 60%, rgba(83, 52, 131, 0.4) 0%, transparent 55%);
    pointer-events: none;
}
.sp-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}
.sp-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.02em;
}
.sp-cta p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.68;
}
.sp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}
.sp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .sp-hero { padding: 120px 0 60px; }
    .sp-section { padding: 56px 0; }
    .sp-grid { grid-template-columns: 1fr; gap: 16px; }
    .sp-stats { grid-template-columns: repeat(2, 1fr); }
    .sp-step { grid-template-columns: 48px 1fr; gap: 16px; }
    .sp-step-num { width: 48px; height: 48px; font-size: 0.9rem; }
    .sp-step:not(:last-child)::before { left: 23px; }
    .sp-faq-item { padding: 22px 22px; }
    .sp-faq-wide { grid-template-columns: 1fr; }
    .sp-cta { padding: 64px 0; }
    .about-hero-inner,
    .about-showcase-grid,
    .about-hero-stats { grid-template-columns: 1fr; }
    .about-hero-panel { padding: 24px; }
    .about-hero-actions { flex-direction: column; align-items: stretch; }
    .about-hero-link,
    .about-hero .sp-hero-cta { width: 100%; justify-content: center; }
    .about-showcase-media { height: 220px; }
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

    .about-hero-inner,
    .about-showcase-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
        gap: 0;
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
    }

    .nav-toggle {
        display: flex;
    }

    /* Nav dropdown inline on mobile */
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0 0 0 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .nav-item.open .nav-dropdown {
        max-height: 300px;
    }

    .nav-item:hover .nav-dropdown {
        max-height: 0;
    }

    .nav-item.open:hover .nav-dropdown {
        max-height: 300px;
    }

    .nav-dropdown a {
        font-size: 0.88rem;
        color: var(--muted);
        padding: 9px 12px;
        border-left: 2px solid var(--border);
        border-radius: 0;
    }

    .nav-dropdown a:hover {
        border-left-color: var(--accent);
        background: transparent;
    }

    /* Logo fix on mobile */
    .nav-logo-image-header {
        height: 53px;
    }

    /* Lang switcher: icon only on mobile */
    .lang-btn .lang-current,
    .lang-btn .lang-arrow {
        display: none;
    }

    .lang-btn {
        padding: 7px;
        background: transparent;
        border-color: transparent;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .lang-btn:hover {
        background: rgba(15, 52, 96, 0.07);
        border-color: transparent;
        box-shadow: none;
    }

    .lang-globe {
        opacity: 0.7;
        width: 20px;
        height: 20px;
    }

    .nav-right {
        gap: 4px;
    }

    .nav-container {
        height: 72px;
        padding: 0 20px;
    }

    .nav-menu > li,
    .nav-menu > li.nav-item {
        margin: 0;
        padding: 0;
        width: 100%;
        position: static;
    }

    .nav-link,
    .nav-item > .nav-link {
        width: 100%;
        padding: 13px 16px;
        text-align: left;
        justify-content: flex-start;
        border-radius: 0;
        background: none;
        line-height: 1.5;
        font-size: 0.9rem;
        display: flex;
    }

    .nav-link:hover {
        background: none;
        color: var(--accent);
    }

    .nav-link.active {
        background: none;
        color: var(--accent);
        font-weight: 700;
        border-radius: 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link-cta {
        background: none !important;
        color: var(--muted) !important;
        border-radius: 0 !important;
        padding: 13px 16px !important;
        font-size: 0.9rem !important;
        box-shadow: none !important;
        text-align: left;
        margin-top: 0;
        width: 100%;
    }

    .nav-link-cta:hover {
        background: none !important;
        color: var(--accent) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .nav-link-cta.active {
        background: none !important;
        color: var(--accent) !important;
        font-weight: 700 !important;
    }

    .hero-content {
        padding: 120px 20px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-badge {
        bottom: -10px;
        right: 10px;
        padding: 14px 20px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .seo-panel {
        padding: 28px 24px;
    }

    .seo-topics {
        grid-template-columns: 1fr;
    }

    .why-grid,
    .landing-links {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card-large {
        grid-row: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
