/* ===== CSS Custom Properties - Developer Theme ===== */
:root {
    --color-bg-primary: #0d1117;
    --color-bg-secondary: #161b22;
    --color-bg-tertiary: #21262d;
    --color-bg-card: rgba(22, 27, 34, 0.9);
    --color-bg-glass: rgba(255, 255, 255, 0.04);
    --color-text-primary: #e6edf3;
    --color-text-secondary: #8b949e;
    --color-text-muted: #6e7681;
    --color-accent-primary: #1b9b8e;
    --color-accent-secondary: #2ea9a0;
    --color-accent-tertiary: #45b8af;
    --color-devkit: #56d364;
    --color-devkit-light: #7ee787;
    --color-xpos: #d29922;
    --color-xpos-light: #e3b341;
    --color-paste: #1b9b8e;
    --color-paste-light: #2ea9a0;
    --color-shorter: #8b5cf6;
    --color-shorter-light: #a78bfa;
    --color-border: rgba(240, 246, 252, 0.1);
    --color-border-hover: rgba(240, 246, 252, 0.18);
    --gradient-primary: linear-gradient(135deg, #1b9b8e 0%, #2ea9a0 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(27, 155, 142, 0.12), transparent);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(27, 155, 142, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(27, 155, 142, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(27, 155, 142, 0.7);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(200%) rotate(45deg);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 100ms ease;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(13, 17, 23, 0.95);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 6px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-glass);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-cta {
    display: none;
    padding: 10px 22px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-glass);
}

.mobile-cta {
    display: block;
    margin-top: 16px;
    padding: 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        min-height: 700px;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: min(100vh, 900px);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(27, 155, 142, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 155, 142, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: glow-pulse 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: rgba(27, 155, 142, 0.12);
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -150px;
    background: rgba(0, 212, 170, 0.1);
    animation-delay: 2s;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 30%;
    background: rgba(115, 208, 255, 0.08);
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(27, 155, 142, 0.1);
    border: 1px solid rgba(27, 155, 142, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-primary);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 30px rgba(27, 155, 142, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(27, 155, 142, 0.4);
}

.btn-secondary {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 24px;
    }
}

.hero-stat {
    text-align: center;
    padding: 16px;
    background: rgba(22, 27, 34, 0.75);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
    .hero-stat {
        padding: 18px;
    }
}

@media (min-width: 768px) {
    .hero-stat {
        padding: 20px;
    }
}

.hero-stat:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.hero-stat-value {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Code Float */
.hero-code-float {
    position: absolute;
    z-index: 0;
    display: none;
}

@media (min-width: 1100px) {
    .hero-code-float {
        display: block;
    }
}

.hero-code-float--right {
    right: 20px;
    top: 20%;
    animation: float 6s ease-in-out infinite;
}

.hero-code-float--left {
    left: 20px;
    top: 35%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-code-float--bottom {
    right: 15%;
    bottom: 8%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-code-float pre {
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid rgba(240, 246, 252, 0.15);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.7;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(27, 155, 142, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.code-comment {
    color: var(--color-text-muted);
}

.code-keyword {
    color: var(--color-accent-tertiary);
}

.code-string {
    color: var(--color-devkit);
}

.code-function {
    color: var(--color-accent-primary);
}

.code-success {
    color: var(--color-devkit);
}

.code-muted {
    color: var(--color-text-muted);
}

.code-xpos {
    color: var(--color-xpos);
}

.code-devkit {
    color: var(--color-devkit);
}

.code-paste {
    color: var(--color-paste);
}

/* ===== Products Section ===== */
.products {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-primary);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(27, 155, 142, 0.1);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: all var(--transition-slow);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 50%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::after {
    animation: shine 0.8s ease forwards;
}

.product-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg), 0 0 50px var(--card-glow);
}

.product-card:hover::before {
    opacity: 1;
}

.product-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 0;
}

.product-card:hover .product-glow {
    opacity: 0.3;
}

.product-card--devkit {
    --card-accent: linear-gradient(90deg, #3fb950, #56d364);
    --card-glow: rgba(63, 185, 80, 0.2);
}

.product-card--devkit .product-glow {
    background: var(--color-devkit);
}

.product-card--xpos {
    --card-accent: linear-gradient(90deg, #d29922, #e3b341);
    --card-glow: rgba(210, 153, 34, 0.2);
}

.product-card--xpos .product-glow {
    background: var(--color-xpos);
}

.product-card--paste {
    --card-accent: linear-gradient(90deg, #1b9b8e, #2ea9a0);
    --card-glow: rgba(27, 155, 142, 0.2);
}

.product-card--paste .product-glow {
    background: var(--color-paste);
}

.product-card--shorter {
    --card-accent: linear-gradient(90deg, #8b5cf6, #a78bfa);
    --card-glow: rgba(139, 92, 246, 0.2);
}

.product-card--shorter .product-glow {
    background: var(--color-shorter);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
}

.product-icon--devkit {
    background: linear-gradient(135deg, rgba(63, 185, 80, 0.15), rgba(86, 211, 100, 0.08));
    border: 1px solid rgba(63, 185, 80, 0.3);
}

.product-icon--xpos {
    background: linear-gradient(135deg, rgba(210, 153, 34, 0.15), rgba(227, 179, 65, 0.08));
    border: 1px solid rgba(210, 153, 34, 0.3);
}

.product-icon--paste {
    background: linear-gradient(135deg, rgba(27, 155, 142, 0.15), rgba(121, 192, 255, 0.08));
    border: 1px solid rgba(27, 155, 142, 0.3);
}

.product-icon--shorter {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.product-domain {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.product-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 28px;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.product-feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-feature-icon--devkit {
    background: rgba(63, 185, 80, 0.2);
    color: #56d364;
}

.product-feature-icon--xpos {
    background: rgba(210, 153, 34, 0.2);
    color: #e3b341;
}

.product-feature-icon--paste {
    background: rgba(27, 155, 142, 0.2);
    color: #8cd8ff;
}

.product-feature-icon--shorter {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 5;
}

.product-cta--devkit {
    color: #56d364;
}

.product-cta--xpos {
    color: #e3b341;
}

.product-cta--paste {
    color: #8cd8ff;
}

.product-cta--shorter {
    color: #a78bfa;
}

.product-cta:hover {
    gap: 12px;
}

.product-cta svg {
    transition: transform var(--transition-fast);
}

.product-cta:hover svg {
    transform: translateX(4px);
}

/* ===== Features Showcase ===== */
.features-showcase {
    padding: 120px 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px) !important;
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content {
    max-width: 540px;
}

.about-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateY(15px);
}

.about-service.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-service:hover {
    border-color: var(--color-accent-primary);
    background: rgba(27, 155, 142, 0.05);
    transform: translateY(-2px) !important;
}

.about-service-icon {
    font-size: 1.2rem;
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(27, 155, 142, 0.08) 0%, transparent 60%);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.about-stat-item {
    text-align: center;
}

.about-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 120px 0;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(27, 155, 142, 0.08) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.cta-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ===== Footer ===== */
.footer {
    padding: 50px 0 36px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-brand {
        align-items: flex-start;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo-img {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-primary);
    transition: width var(--transition-normal);
}

.footer-link:hover {
    color: var(--color-accent-primary);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===== Focus States ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(27, 155, 142, 0.3);
    color: var(--color-text-primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-primary);
}

/* ===== Scroll Offset for Anchors ===== */
:target {
    scroll-margin-top: 100px;
}

/* ===== Print Styles ===== */
@media print {

    .navbar,
    .mobile-menu,
    .scroll-progress,
    .hero-code-float {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}