/* ============================================
   TAJIMA EUROPE - Landing Page Styles
   "Je démarre mon activité broderie"
   ============================================ */

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

:root {
    --pink: #EA3D7D;
    --pink-light: #FF6BA1;
    --pink-dark: #C82D66;
    --teal: #1D907F;
    --teal-light: #25B8A3;
    --teal-dark: #167064;
    --purple: #6C3FA0;
    --purple-light: #8B5FCF;
    --dark: #0F1729;
    --dark-2: #1A2340;
    --dark-3: #243052;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--teal) 100%);
    --gradient-warm: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    --gradient-cool: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow-pink: 0 0 40px rgba(234,61,125,0.15);
    --shadow-glow-teal: 0 0 40px rgba(29,144,127,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234,61,125,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234,61,125,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(234,61,125,0.08), rgba(108,63,160,0.08));
    color: var(--pink);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 28px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15,23,41,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 70px;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    color: var(--pink-light);
    font-size: 1.275rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-badge i {
    color: #FFD700;
    font-size: 1.1rem;
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}

.lang-btn.active {
    color: var(--white);
    background: var(--pink);
    border-color: var(--pink);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    overflow: hidden;
    padding: 160px 0 20px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--pink);
    top: -200px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    bottom: -200px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-left .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
}

.hero-left .hero-actions {
    justify-content: flex-start;
}

/* Hero machine image */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.hero-machine-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-sticker {
    position: absolute;
    bottom: 12%;
    right: -5%;
    background: var(--pink);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    transform: rotate(4deg);
    box-shadow: 0 8px 30px rgba(234,61,125,0.4);
    z-index: 2;
    animation: machineFloat 4s ease-in-out infinite;
}

.price-sticker-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.price-sticker-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    white-space: nowrap;
}

.hero-machine-img {
    width: 180%;
    max-width: 850px;
    height: auto;
    margin-right: -40%;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
    animation: machineFloat 4s ease-in-out infinite;
}

@keyframes machineFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-price-sticker {
    position: absolute;
    bottom: 10px;
    right: -10px;
    background: var(--gradient-warm);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.4), 0 0 0 3px rgba(255,255,255,0.15);
    animation: stickerPulse 2.5s ease-in-out infinite;
    z-index: 3;
}

@keyframes stickerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.price-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.price-ht {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    color: var(--pink-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #FFD700;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

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

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    border-color: var(--teal-light);
    color: var(--teal-light);
}

/* Hero Stats Banner */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 32px;
    padding-bottom: 20px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.hero-stat-item {
    text-align: center;
    padding: 20px 16px;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.hero-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.hero-stat-item .stat-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pink-light);
    display: inline;
    margin-left: 2px;
}

.hero-stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Scroll anchor */
.hero-scroll-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 20px;
    padding-bottom: 10px;
    transition: color 0.3s ease;
    z-index: 2;
}

.hero-scroll-anchor:hover {
    color: var(--pink-light);
}

.hero-scroll-anchor i {
    font-size: 1rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   PAIN POINTS / REASSURANCE
   ============================================ */
.pain-points {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.pain-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

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

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.pain-icon {
    margin-bottom: 20px;
}

.icon-bg {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-bg-teal {
    background: rgba(29,144,127,0.1);
    color: var(--teal);
}

.icon-bg-pink {
    background: rgba(234,61,125,0.1);
    color: var(--pink);
}

.icon-bg-purple {
    background: rgba(108,63,160,0.1);
    color: var(--purple);
}

.pain-question {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pink);
    font-style: italic;
    margin-bottom: 8px;
}

.pain-card h3 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.pain-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process {
    padding: 100px 0;
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--pink), var(--teal));
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 24px 0;
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pink);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    background: var(--gradient-warm);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-glow-pink);
}

.timeline-content {
    flex: 1;
    padding-top: 16px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--gray-500);
    line-height: 1.7;
}

.timeline-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ============================================
   SOFTWARE SECTION
   ============================================ */
.software {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.software-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.software-text > p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--teal);
    margin-top: 2px;
}

.feature-list li strong {
    display: block;
    color: var(--gray-800);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-list li span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Software visual mockup */
.software-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.sw-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--dark-2);
}

.sw-dots {
    display: flex;
    gap: 6px;
}

.sw-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sw-dots span:nth-child(1) { background: #FF5F57; }
.sw-dots span:nth-child(2) { background: #FFBD2E; }
.sw-dots span:nth-child(3) { background: #28CA41; }

.sw-title {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.sw-card-body {
    padding: 20px;
}

.sw-mockup {
    display: flex;
    gap: 16px;
    min-height: 280px;
}

.sw-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sw-menu-item {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: var(--transition);
}

.sw-menu-item.active {
    background: var(--gradient-warm);
    color: var(--white);
}

.sw-canvas {
    flex: 1;
    background: var(--dark-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sw-embroidery-preview {
    text-align: center;
    color: var(--gray-400);
}

.sw-embroidery-preview i {
    font-size: 4rem;
    color: var(--teal);
    opacity: 0.5;
    margin-bottom: 16px;
    display: block;
}

.sw-stitch-lines {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.sw-stitch-lines span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    animation: stitch-pulse 2s ease-in-out infinite;
}

.sw-stitch-lines span:nth-child(1) { background: var(--pink); animation-delay: 0s; }
.sw-stitch-lines span:nth-child(2) { background: var(--purple); animation-delay: 0.2s; }
.sw-stitch-lines span:nth-child(3) { background: var(--teal); animation-delay: 0.4s; }
.sw-stitch-lines span:nth-child(4) { background: var(--pink-light); animation-delay: 0.6s; }
.sw-stitch-lines span:nth-child(5) { background: var(--teal-light); animation-delay: 0.8s; }

@keyframes stitch-pulse {
    0%, 100% { transform: scaleX(1); opacity: 0.5; }
    50% { transform: scaleX(1.8); opacity: 1; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

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

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #FFB800;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-cool);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.testimonial-author span {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--pink);
}

.faq-question i {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--gray-500);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT / LEAD FORM
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--pink);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    top: -200px;
    right: -200px;
}

.contact::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--teal);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    bottom: -200px;
    left: -100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.contact-text > p {
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.contact-benefit i {
    color: var(--teal-light);
    font-size: 0.9rem;
}

/* Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 24px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.required {
    color: var(--pink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(234,61,125,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--pink);
}

.form-checkbox label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 12px;
}

.form-note i {
    color: var(--teal);
    margin-right: 4px;
}

/* Form success */
.form-success {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.success-icon {
    font-size: 3.5rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0 24px;
    background: var(--gray-900);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-700);
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--pink-light);
}

.footer-sep {
    color: var(--gray-600);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.8rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-two-cols {
        gap: 24px;
    }

    .hero-machine-img {
        max-width: 360px;
    }

    .hero h1 {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }

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

    .software-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }



    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* --- HERO mobile --- */
    .hero {
        padding: 160px 0 60px;
        min-height: auto;
        overflow: hidden;
    }

    .hero-two-cols {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-left .hero-actions {
        justify-content: center;
    }

    .hero-right {
        order: -1;
    }

    .hero-machine-img {
        width: 100%;
        max-width: 280px;
        margin-right: 0;
    }

    .price-sticker {
        bottom: 5%;
        right: 0;
        padding: 8px 14px;
    }

    .price-sticker-label {
        font-size: 0.6rem;
    }

    .price-sticker-amount {
        font-size: 1.1rem;
    }

    .hero-content {
        overflow: visible;
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.03em;
        word-break: break-word;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 8px;
        gap: 12px;
    }

    .hero-actions .btn {
        justify-content: center;
        font-size: 0.85rem;
        padding: 14px 20px;
    }

    .hero-actions .btn-primary {
        padding: 18px 24px;
        font-size: 1rem;
        box-shadow: 0 8px 30px rgba(234,61,125,0.35);
    }

    .hero-stats {
        margin-top: 20px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .hero-stat-item {
        padding: 14px 10px;
    }

    .hero-stat-item .stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-item:nth-child(2)::after {
        display: none;
    }

    /* --- SECTIONS spacing mobile --- */
    .pain-points,
    .process,
    .software,
    .testimonials,
    .faq,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    /* --- PAIN POINTS mobile: colorful gradient cards --- */
    .pain-points {
        background: var(--white);
        position: relative;
        overflow: hidden;
    }

    .pain-points::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -120px;
        width: 300px;
        height: 300px;
        background: var(--pink);
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.06;
    }

    .pain-points::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -120px;
        width: 300px;
        height: 300px;
        background: var(--teal);
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.06;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pain-card {
        padding: 24px 20px;
        border-radius: var(--radius-xl);
        border: none;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .pain-card::before {
        opacity: 1;
        height: 100%;
        width: 4px;
        left: 0;
        top: 0;
        right: auto;
        border-radius: 4px 0 0 4px;
    }

    .pain-card:nth-child(1) { background: linear-gradient(135deg, rgba(29,144,127,0.04), rgba(29,144,127,0.01)); }
    .pain-card:nth-child(1)::before { background: var(--teal); }

    .pain-card:nth-child(2) { background: linear-gradient(135deg, rgba(234,61,125,0.04), rgba(234,61,125,0.01)); }
    .pain-card:nth-child(2)::before { background: var(--pink); }

    .pain-card:nth-child(3) { background: linear-gradient(135deg, rgba(108,63,160,0.04), rgba(108,63,160,0.01)); }
    .pain-card:nth-child(3)::before { background: var(--purple); }

    .pain-card:nth-child(4) { background: linear-gradient(135deg, rgba(29,144,127,0.04), rgba(29,144,127,0.01)); }
    .pain-card:nth-child(4)::before { background: var(--teal); }

    .pain-card:nth-child(5) { background: linear-gradient(135deg, rgba(234,61,125,0.04), rgba(234,61,125,0.01)); }
    .pain-card:nth-child(5)::before { background: var(--pink); }

    .pain-card:nth-child(6) { background: linear-gradient(135deg, rgba(108,63,160,0.04), rgba(108,63,160,0.01)); }
    .pain-card:nth-child(6)::before { background: var(--purple); }

    .pain-card .pain-icon {
        margin-bottom: 14px;
    }

    .icon-bg {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        border-radius: var(--radius-md);
    }

    .pain-question {
        font-size: 0.8rem;
    }

    .pain-card h3 {
        font-size: 1.1rem;
    }

    .pain-card p {
        font-size: 0.9rem;
    }

    /* --- PROCESS / TIMELINE mobile --- */
    .process {
        background: var(--gray-50);
    }

    .timeline::before {
        left: 28px;
        width: 3px;
        background: linear-gradient(to bottom, var(--pink), var(--purple), var(--teal));
        border-radius: 3px;
    }

    .timeline-item {
        gap: 20px;
        padding: 16px 0;
    }

    .timeline-number {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
        background: var(--gradient-warm);
        color: var(--white);
        border: 3px solid var(--white);
        box-shadow: 0 4px 15px rgba(234,61,125,0.2);
    }

    .timeline-item:hover .timeline-number {
        box-shadow: 0 4px 20px rgba(234,61,125,0.35);
    }

    .timeline-content {
        padding-top: 6px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .timeline-icon {
        display: none;
    }

    /* --- SOFTWARE mobile --- */
    .software {
        background: var(--dark);
        padding: 60px 0;
    }

    .software-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .software-text h2 {
        color: var(--white);
    }

    .software-text > p {
        color: var(--gray-400);
    }

    .feature-list li strong {
        color: var(--gray-200);
    }

    .feature-list li span {
        color: var(--gray-400);
    }

    .feature-icon {
        color: var(--teal-light);
    }

    .section-tag {
        font-size: 0.75rem;
    }

    .software .section-tag {
        background: rgba(255,255,255,0.08);
        color: var(--pink-light);
    }

    .software-card {
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255,255,255,0.06);
    }

    .sw-mockup {
        min-height: 200px;
    }

    /* --- STATS mobile --- */
    .stats {
        padding: 50px 0;
        background: var(--gradient-primary);
    }

    .stats::before {
        opacity: 0;
    }



    .stat-number {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1rem;
        color: rgba(255,255,255,0.7);
    }

    .stat-label {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.6);
        margin-top: 4px;
    }

    /* --- TESTIMONIALS mobile: carousel-like cards --- */
    .testimonials {
        background: var(--gray-50);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        background: var(--white);
        border-radius: var(--radius-xl);
        padding: 24px;
        border: none;
        box-shadow: 0 2px 16px rgba(0,0,0,0.05);
        position: relative;
    }

    .testimonial-card::before {
        content: '\201C';
        position: absolute;
        top: 16px;
        right: 20px;
        font-size: 3rem;
        font-family: Georgia, serif;
        line-height: 1;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0.2;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .testimonial-stars {
        font-size: 0.8rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    /* --- FAQ mobile --- */
    .faq {
        background: var(--white);
    }

    .faq-item {
        border-bottom-color: var(--gray-100);
        background: var(--white);
    }

    .faq-item:first-child {
        border-top-color: var(--gray-100);
    }

    .faq-item.active {
        background: linear-gradient(135deg, rgba(234,61,125,0.02), rgba(108,63,160,0.02));
        margin: 0 -16px;
        padding: 0 16px;
        border-radius: var(--radius-md);
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 18px 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* --- CONTACT mobile --- */
    .contact {
        padding: 50px 0;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        font-size: 1.6rem;
    }

    .contact-text > p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .contact-benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 8px;
    }

    .contact-benefit {
        font-size: 0.82rem;
        gap: 8px;
        background: rgba(255,255,255,0.05);
        padding: 10px 12px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.06);
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(234,61,125,0.08);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }

    .contact-form h3 {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        border-radius: var(--radius-md);
        font-size: 16px; /* prevent iOS zoom */
    }

    .btn-block {
        padding: 16px 24px;
        font-size: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 25px rgba(234,61,125,0.3);
    }

    /* --- FOOTER mobile --- */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* --- NAV mobile --- */
    .navbar {
        padding: 8px 0;
    }

    .nav-container {
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
    }

    .logo-img {
        height: 60px;
        order: 0;
    }

    .lang-switcher {
        order: 1;
        gap: 4px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
    }

    .nav-badge {
        order: 2;
        position: static;
        transform: none;
        width: 100%;
        justify-content: center;
        font-size: 0.7rem;
        padding: 5px 12px;
        gap: 5px;
        white-space: nowrap;
        margin-top: 4px;
        border-radius: var(--radius-full);
    }

    .nav-badge i {
        font-size: 0.65rem;
    }

    .navbar.scrolled {
        padding: 5px 0;
    }
}

/* ============================================
   SMALL MOBILE (<= 480px) extra refinements
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-left {
        overflow: hidden;
    }

    .section-header h2 {
        font-size: 1.45rem;
    }

    .contact-benefits {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        gap: 14px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }
}
