@charset "utf-8";
/*
  Based on TemplateMo 593 Personal Shape
  Redesigned for Japanese B2B Software Engineering Corporate Site
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.96);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-elegant: linear-gradient(135deg, #5b6ee1 0%, #764ba2 52%, #c96dd8 100%);
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 24px -6px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 22px 38px -10px rgba(79, 70, 229, 0.14), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
    --shadow-2xl: 0 28px 54px -14px rgba(15, 23, 42, 0.22);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.85;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
}

/* ==================== Navigation ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.72rem 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover .logo-img {
    transform: translateY(-1px);
    opacity: 0.9;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.28);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.1rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta-btn {
    padding: 0.58rem 1.4rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.28);
}

.nav-links a.nav-cta-btn::after {
    display: none;
}

.nav-links a.nav-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.38);
}

/* ==================== Mobile Menu ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

.mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    overscroll-behavior: contain;
    touch-action: none;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.35rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.40s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.48s; }

.mobile-nav-links a {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-links a:hover {
    transform: scale(1.05);
}

/* ==================== Hero Section ==================== */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-elegant);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.12)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 25s ease-in-out infinite;
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.14) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 50%;
}

.shape-1 { width: 84px; height: 84px; top: 18%; left: 9%; animation: floatShape1 20s ease-in-out infinite; }
.shape-2 { width: 130px; height: 130px; top: 58%; right: 14%; background: rgba(255, 255, 255, 0.08); animation: floatShape2 25s ease-in-out infinite reverse; }
.shape-3 { width: 64px; height: 64px; top: 28%; right: 24%; background: rgba(255, 255, 255, 0.13); animation: floatShape3 18s ease-in-out infinite; }
.shape-4 { width: 105px; height: 105px; bottom: 22%; left: 18%; background: rgba(255, 255, 255, 0.07); border-radius: 24px; animation: floatShape4 22s ease-in-out infinite; }
.shape-5 { width: 42px; height: 42px; top: 16%; right: 42%; background: rgba(255, 255, 255, 0.16); animation: floatShape5 16s ease-in-out infinite reverse; }
.shape-6 { width: 150px; height: 150px; bottom: 12%; right: 8%; background: rgba(255, 255, 255, 0.05); border-radius: 32px; animation: floatShape6 28s ease-in-out infinite; }

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-10px, -15px) rotate(180deg); }
    75% { transform: translate(15px, -40px) rotate(270deg); }
}
@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 25px) scale(1.1); }
    66% { transform: translate(25px, -20px) scale(0.92); }
}
@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -25px) rotate(180deg); }
}
@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, 20px) rotate(45deg); }
    50% { transform: translate(30px, -10px) rotate(90deg); }
    75% { transform: translate(-20px, 15px) rotate(135deg); }
}
@keyframes floatShape5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -35px) scale(1.2); }
}
@keyframes floatShape6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -15px) rotate(60deg); }
    66% { transform: translate(-25px, 10px) rotate(120deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}
@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.85; }
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    max-width: 920px;
    padding: 0 2rem;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.9s ease 0.15s forwards;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Hero Slides (3 messages from doc) */
.hero-slider {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero h1 {
    font-size: clamp(2.15rem, 5vw, 4.1rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
    line-height: 1.24;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 30px rgba(15, 23, 42, 0.16);
}

.hero .subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin-bottom: 2.4rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.05rem 2.6rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
    letter-spacing: 0.04em;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
    border-color: #ffffff;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    cursor: pointer;
    z-index: 3;
    transition: border-color 0.3s ease;
}

.scroll-indicator:hover {
    border-color: #ffffff;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(18px); opacity: 0; }
}

/* ==================== Common Sections ==================== */
section {
    padding: 6.5rem 0;
    overflow-x: clip;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-lead {
    max-width: 680px;
    margin: 1.8rem auto 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

/* ==================== Strengths Section (About Layout) ==================== */
.about {
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 88% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

.about-image {
    width: 100%;
    height: 540px;
    background: url('images/studio-about.jpg') center/cover no-repeat;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(-1.8deg);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.24) 0%, rgba(139, 92, 246, 0.14) 100%);
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0.55;
}

.strength-list {
    display: grid;
    gap: 1.5rem;
}

.strength-card {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 20px;
    padding: 1.65rem 1.85rem;
    box-shadow: var(--shadow-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.strength-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.25);
}

.strength-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    line-height: 1.45;
}

.strength-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.skills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.skill-tag {
    padding: 0.55rem 1.15rem;
    background: var(--bg-card);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== Services & Process Section ==================== */
.services-section {
    background: var(--bg-primary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.2rem 2rem;
    border: 1px solid rgba(99, 102, 241, 0.13);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-elegant);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.service-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
}

.service-card h3 {
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-points {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-points li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.service-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.service-domain-box {
    margin-top: auto;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Technical Domains Bar */
.domains-wrap {
    background: var(--bg-secondary);
    border-radius: 26px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
    margin-bottom: 4.5rem;
}

.domains-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.domain-col {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.domain-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}

.domain-col ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.domain-col li::before {
    content: "— ";
    color: var(--secondary-color);
    font-weight: 700;
}

/* 5-Step Process */
.process-heading {
    text-align: center;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.process-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin-bottom: 2.5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.process-step {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.6rem 1.35rem;
    border: 1px solid rgba(99, 102, 241, 0.14);
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.35);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.process-step h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    line-height: 1.4;
}

.process-step p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Portfolio / Cases Section ==================== */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(24px);
    opacity: 0;
    border: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
}

.portfolio-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-image {
    width: 100%;
    height: 215px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.portfolio-item:nth-child(1) .portfolio-image {
    background-image: url('images/case-factory.jpg');
}

.portfolio-item:nth-child(2) .portfolio-image {
    background-image: url('images/case-ev.jpg');
}

.portfolio-item:nth-child(3) .portfolio-image {
    background-image: url('images/case-pos.jpg');
}

.portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.42) 100%);
    transition: all 0.35s ease;
}

.portfolio-item:hover .portfolio-image::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32) 0%, rgba(139, 92, 246, 0.25) 100%);
}

.case-label {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 0.32rem 0.9rem;
    border-radius: 50px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 2;
}

.portfolio-content {
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-content h4 {
    font-size: 1.18rem;
    margin-bottom: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.45;
}

.case-blocks {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
    flex: 1;
}

.case-block {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--primary-color);
}

.case-block.outcome {
    background: rgba(99, 102, 241, 0.07);
    border-left-color: var(--secondary-color);
}

.case-block-title {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.case-block p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.tech-tag {
    padding: 0.32rem 0.85rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.14);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ==================== Company & Message Section ==================== */
.company-section {
    background: var(--bg-primary);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.message-card {
    background: linear-gradient(160deg, #faf9ff 0%, #f3f0ff 100%);
    border-radius: 26px;
    padding: 2.6rem 2.4rem;
    border: 1px solid rgba(99, 102, 241, 0.16);
    box-shadow: var(--shadow-lg);
}

.message-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    display: block;
}

.message-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 1.4rem;
}

.message-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.1rem;
}

.message-sign {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.18);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.company-table-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 2.4rem;
    border: 1px solid rgba(99, 102, 241, 0.14);
    box-shadow: var(--shadow-lg);
}

.company-dl {
    display: grid;
}

.company-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.92rem;
}

.company-row:first-child {
    padding-top: 0;
}

.company-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-row dt {
    font-weight: 700;
    color: var(--primary-color);
}

.company-row dd {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ==================== Contact Section ==================== */
.contact {
    background: linear-gradient(135deg, #3b4cb8 0%, #4a2c65 50%, #9c35a8 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
    animation: contactFloat 30s ease-in-out infinite;
    opacity: 0.6;
}

.contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: contactPulse 6s ease-in-out infinite alternate;
}

.contact-floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-shape-1 { width: 70px; height: 70px; top: 15%; left: 8%; animation: floatShape1 24s ease-in-out infinite; }
.contact-shape-2 { width: 110px; height: 110px; top: 65%; right: 12%; background: rgba(255, 255, 255, 0.06); animation: floatShape2 28s ease-in-out infinite reverse; }
.contact-shape-3 { width: 55px; height: 55px; top: 25%; right: 30%; background: rgba(255, 255, 255, 0.1); animation: floatShape3 20s ease-in-out infinite; }
.contact-shape-4 { width: 90px; height: 90px; bottom: 20%; left: 18%; background: rgba(255, 255, 255, 0.05); border-radius: 25px; animation: floatShape4 26s ease-in-out infinite; }
.contact-shape-5 { width: 35px; height: 35px; top: 12%; right: 45%; background: rgba(255, 255, 255, 0.12); animation: floatShape5 18s ease-in-out infinite reverse; }
.contact-shape-6 { width: 130px; height: 130px; bottom: 12%; right: 8%; background: rgba(255, 255, 255, 0.04); border-radius: 35px; animation: floatShape6 32s ease-in-out infinite; }

@keyframes contactFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(0.5deg); }
}
@keyframes contactPulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

.contact-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact .section-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.contact .section-title {
    color: var(--text-light);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact .section-lead {
    color: rgba(255, 255, 255, 0.88);
}

.contact-form {
    display: grid;
    gap: 1.6rem;
    margin-top: 2.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.form-group {
    display: grid;
    gap: 0.55rem;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
}

.req {
    color: #f9a8d4;
    margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    padding: 1.05rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.submit-btn {
    padding: 1.15rem 3rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.32);
}

.captcha-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.form-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.4em;
    color: rgba(255, 255, 255, 0.92);
}

.form-status.is-error {
    color: #fecaca;
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    color: var(--text-light);
    padding: 3rem 0 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    display: block;
    align-self: flex-start;
}

.mobile-menu-logo {
    height: 34px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.footer-right {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #ffffff;
}

/* ==================== Scroll Animations ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(48px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1080px) {
    .about-content,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image {
        height: 380px;
        transform: none;
    }
    .service-grid,
    .domains-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    section {
        padding: 4.5rem 0;
    }
    .container {
        padding: 0 1.25rem;
    }
    .nav-container {
        padding: 0 1.25rem;
    }
    .logo-img {
        height: 29px;
    }
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 520px;
        padding-top: 3.5rem;
    }
    .scroll-indicator {
        bottom: 28px;
    }
    .hero-content {
        padding: 0 1.25rem;
    }
    .hero-slider {
        min-height: 290px;
    }
    .service-grid,
    .domains-grid,
    .portfolio-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    .domains-wrap,
    .message-card,
    .company-table-card {
        padding: 1.65rem 1.35rem;
    }
    .company-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-left {
        align-items: center;
    }
    .footer-logo-img {
        align-self: center;
    }
    .footer-right {
        justify-content: center;
        gap: 1.2rem;
    }
}
