:root {
    --bg-main: #FFFFFF;
    --bg-warm: #FFF8F0;
    --primary: #FF6B35;
    --primary-hover: #e55b2a;
    --secondary: #1A1A2E;
    --text: #2D2D2D;
    --text-light: #5f6368;
    --card-bg: #FFF3E8;
    --border-color: #f1e1d2;
    --font-heading: 'Elza Text', sans-serif;
    --font-body: 'Elza Text', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(255, 107, 53, 0.15), 0 10px 10px -5px rgba(255, 107, 53, 0.04);
}

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

html {}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.warm-bg {
    background-color: var(--bg-warm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #2a2a4a;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.navbar .nav-cta {
    padding: 11px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1002;
    flex-shrink: 0;
}

.nav-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--card-bg);
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.45);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-overlay.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
}

.lang-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    color: var(--secondary);
    font-weight: 700;
}

.lang-separator {
    color: var(--border-color);
    font-size: 0.85rem;
    user-select: none;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, var(--bg-warm) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--card-bg);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ff9a76);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: var(--border-color);
}

.stat-value {
    font-family: var(--font-body);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 4px;
}

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

/* Mockup Animation */
.mockup-window {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: #f8f9fa;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    padding: 24px;
    background: #fafafa;
}

.skeleton-nav {
    height: 30px;
    background: white;
    border-radius: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.skeleton-hero {
    height: 150px;
    background: var(--bg-warm);
    border-radius: 12px;
    margin-bottom: 24px;
}

.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skeleton-card {
    height: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Marquee */
.marquee-section {
    padding: 34px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 1;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-warm), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-warm), transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: scroll 30s linear infinite;
    padding-right: 48px;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.industry-item i {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

.marquee-content .separator {
    color: var(--primary);
    margin: 0 48px;
    font-size: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Portfolio */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.portfolio-item {
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    position: relative;
}

.portfolio-item:hover {
    transform: scale(1.21);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    border-color: var(--border-color);
    z-index: 10;
}

.portfolio-item:nth-child(even) {
    flex-direction: row-reverse;
}

.portfolio-img {
    height: 360px;
    flex: 0 0 55%;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.portfolio-info {
    flex: 1;
    padding: 24px;
}

.bg-warm {
    background: linear-gradient(135deg, #FFF3E8, #f8d7c0);
}

.bg-dark {
    background: linear-gradient(135deg, #1A1A2E, #2a2a4a);
}

.bg-accent {
    background: linear-gradient(135deg, #FF6B35, #ff9a76);
}

.bg-light {
    background: linear-gradient(135deg, #f1f3f5, #e9ecef);
}

.portfolio-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Process */
/* Process Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 107, 53, 0), rgba(255, 107, 53, 0.4) 15%, rgba(255, 107, 53, 0.4) 85%, rgba(255, 107, 53, 0));
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.left {
    left: 0;
    padding-right: 60px;
    text-align: right;
    transform: translateX(-40px);
}

.timeline-item.right {
    left: 50%;
    padding-left: 60px;
    text-align: left;
    transform: translateX(40px);
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-warm);
    border: 2px solid rgba(255, 107, 53, 0.5);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.timeline-item.is-visible .timeline-dot {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.timeline-item.left .timeline-dot {
    right: -24px;
}

.timeline-item.right .timeline-dot {
    left: -24px;
}

.process-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    z-index: 1;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.timeline-item.left .process-card {
    margin-left: auto;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.process-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.check-list li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 48px 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    background: var(--card-bg);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

.pricing-desc {
    color: var(--text-light);
    margin-bottom: 32px;
    min-height: 72px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-list li i {
    color: var(--primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cta-banner {
    border-radius: 24px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-light);
    max-width: 600px;
}

.cta-banner .btn-whatsapp {
    margin-top: 0;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.stars i {
    width: 20px;
    height: 20px;
    fill: #FFB800;
    color: #FFB800;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 4px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Contact */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-card p a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card p a:hover {
    color: var(--primary-hover);
}

.contact-card--whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.contact-card--whatsapp .contact-card__icon {
    color: #25d366;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    background-color: #25d366;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-whatsapp__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.btn-whatsapp__label {
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: white;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer .logo {
    color: white;
    margin-bottom: 24px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 1.125rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 60px;
    }

    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 88px 28px 32px;
        background: #fff;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-links {
        position: static;
        left: auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-color);
    }

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

    .navbar .nav-cta {
        width: 100%;
        margin-top: 24px;
        padding: 14px 24px;
        font-size: 1rem;
    }

    body.nav-open {
        overflow: hidden;
    }

    .lang-switcher {
        margin: 24px 0 0 0;
        justify-content: center;
        width: 100%;
        padding: 16px 0 0;
        border-top: 1px dashed var(--border-color);
    }

    .lang-btn {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero p {
        margin: 0 auto 40px;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .mockup-window {
        margin-top: 40px;
    }

    .portfolio-item,
    .portfolio-item:nth-child(even) {
        flex-direction: column;
        gap: 24px;
        padding: 16px;
    }

    .portfolio-img {
        width: 100%;
        flex: 0 0 240px;
    }

    .portfolio-info {
        padding: 16px;
    }

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

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

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        padding-left: 72px;
        padding-right: 0;
        text-align: left;
        transform: translateY(30px);
    }

    .timeline-item.is-visible {
        transform: translateY(0);
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 0;
        right: auto;
    }
}

/* Legal pages */
.legal-page {
    padding: 140px 0 80px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.75rem;
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin: 24px 0 12px;
}

.legal-content p,
.legal-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
}

.legal-content a:hover {
    color: var(--primary-hover);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--text-light);
    font-weight: 600;
}

.legal-back:hover {
    color: var(--primary);
}

/* --- SwiftSite Live Preview Transition & Portfolio Enhancements --- */

/* Responsive video iframe for portfolio */
.portfolio-img iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    z-index: 1;
    transform: scale(1.26); /* Enlarge by 26% to hide black borders/bars fully */
}

.portfolio-img .video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: pointer;
}

/* Small button utilities */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: 30px;
}

.btn-live-preview {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--secondary), #2a2a4a);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.15);
    text-decoration: none;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-live-preview:hover {
    background: linear-gradient(135deg, var(--primary), #ff9a76);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.btn-live-preview i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-live-preview:hover i {
    transform: translate(2px, -2px);
}

/* Fullscreen Preview Transition Overlay */
.preview-transition-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-transition-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.transition-card {
    text-align: center;
    color: white;
    max-width: 420px;
    width: 90%;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.92);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-transition-overlay.is-active .transition-card {
    transform: scale(1);
}

.transition-logo {
    margin-bottom: 36px;
}

.transition-logo img {
    filter: brightness(0) invert(1);
}

.transition-loader {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #ff9a76);
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.preview-transition-overlay.is-active .loader-progress {
    width: 100%;
}

.transition-status {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.transition-site-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.01em;
}