@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --primary: #E30613;
    --primary-hover: #ff1a28;
    --primary-glow: rgba(227, 6, 19, 0.4);

    --accent-orange: #FF4D00;
    --accent-yellow: #FFB800;

    --bg-base: #0a0a0c;
    --bg-surface: #141419;
    --bg-surface-elevated: #1e1e26;

    --text-primary: #FFFFFF;
    --text-secondary: #A0A0AB;
    --text-muted: #6B6B76;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(227, 6, 19, 0.2);

    --gradient-fire: linear-gradient(135deg, var(--primary), var(--accent-orange));
    --gradient-glow: linear-gradient(180deg, rgba(227, 6, 19, 0.15) 0%, rgba(10, 10, 12, 0) 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.gradient-text {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.btn-gradient {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 77, 0, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 8px 30px rgba(255, 77, 0, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), #ff6a00);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Logo Image */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background Gradients for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.15) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 40px rgba(227, 6, 19, 0.2);
    z-index: 0;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.6) 0%, rgba(227, 6, 19, 0.2) 100%);
    mix-blend-mode: overlay;
}

/* Abstract Tech visual representation */
.tech-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: absolute;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.tc-1 {
    top: 10%;
    left: 0;
    width: 320px;
    z-index: 2;
    border-top: 1px solid var(--border-glow);
}

.tc-2 {
    bottom: 20%;
    right: 0;
    width: 280px;
    z-index: 3;
    animation-delay: -2s;
    border-left: 1px solid var(--border-glow);
}

.tc-3 {
    top: 40%;
    right: 10%;
    width: 240px;
    z-index: 1;
    filter: blur(2px);
    opacity: 0.6;
    animation-delay: -4s;
}

.tech-card img {
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    opacity: 0.8;
}

.tc-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.tc-metric {
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    width: 45%;
}

.tc-metric.active {
    background: var(--gradient-fire);
    width: 65%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(227, 6, 19, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

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

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    border: 1px solid rgba(227, 6, 19, 0.2);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Available Kitchens */
.kitchens-section {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.kitchen-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.kitchen-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227, 6, 19, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.kitchen-img {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #2a2a35;
    /* Fallback placeholder */
}

/* Placeholder gradients for images */
.img-placeholder-1 {
    background: linear-gradient(45deg, #1f1c2c, #928DAB);
}

.img-placeholder-2 {
    background: linear-gradient(45deg, #232526, #414345);
}

.img-placeholder-3 {
    background: linear-gradient(45deg, #141E30, #243B55);
}

.kitchen-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, var(--bg-surface-elevated) 0%, transparent 100%);
}

.badge-location {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kitchen-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kitchen-info h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.kitchen-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.spec-item i {
    color: var(--primary);
}

.kitchen-info .btn {
    margin-top: auto;
    width: 100%;
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary);
    border: 1px solid rgba(227, 6, 19, 0.3);
}

.kitchen-card:hover .kitchen-info .btn {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1), rgba(255, 184, 0, 0.05));
    color: var(--accent-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Brands Marquee Placeholder */
.brands-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.brands-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.brands-container::before,
.brands-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

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

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

.brands-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
    animation: scrollBrands 20s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

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

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

.brand-logo {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5) opacity(0.6);
    transition: var(--transition);
}

.brand-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

.brand-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-muted);
}

/* Advantages / Growth Section with Video */
.growth-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    filter: blur(2px) contrast(0.9);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* 45% black overlay */
    z-index: 1;
}

.growth-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Limited width for readability */
}

.growth-header {
    text-align: center;
    margin-bottom: 60px;
}

.growth-header .section-title {
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.growth-header .section-subtitle {
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 768px) {
    .growth-grid {
        grid-template-columns: 1fr;
    }
}

.growth-card {
    background: rgba(20, 20, 25, 0.75);
    /* Dark translucent background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.growth-card:hover {
    background: rgba(30, 30, 38, 0.85);
    border-color: rgba(227, 6, 19, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.growth-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.growth-card:hover .growth-icon {
    background: var(--primary);
    color: white;
}

.growth-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.growth-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* AI Assistant */
.ai-section {
    position: relative;
    padding: 120px 0;
}

.ai-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(10, 10, 12, 0.95));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.ai-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.bot-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    animation: float 4s ease-in-out infinite;
}

/* CTA Publish Section */
.cta-publish {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Contact Form Section */
.contact-section {
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.125rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-surface);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-secondary);
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-primary);
    text-decoration: none;
}

.modal-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-section h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.modal-section h3 i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    background: var(--bg-surface-elevated);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.modules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.module-card {
    background: var(--bg-surface-elevated);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-card h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.module-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.module-specs span i {
    width: 16px;
    height: 16px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.features-list li i {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

.modal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    background: var(--bg-surface-elevated);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

/* Editable field styling */
.contenteditable-field {
    outline: none;
    border-bottom: 1px dashed var(--text-secondary);
    padding-bottom: 2px;
    min-width: 50px;
    display: inline-block;
}

.contenteditable-field:focus {
    border-bottom: 1px solid var(--primary);
    color: var(--text-primary);
}

.contenteditable-field:empty::before {
    content: attr(data-placeholder);
    color: var(--text-muted);
    pointer-events: none;
}

@media (max-width: 768px) {
    .modal-grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Footer */
footer {
    background: var(--bg-base);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-grid,
    .advantages-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

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

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

    .hero-visual {
        display: none;
        /* Hide abstract visual on small screens for simplicity */
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple hidden mobile menu placeholder */
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .ai-card {
        padding: 40px 20px;
    }
}

/* Custom AI Chat Widget */
:root {
    --kh-bg: #07070b;
    --kh-panel: rgba(13, 13, 19, 0.96);
    --kh-panel-2: rgba(20, 20, 28, 0.96);
    --kh-border: rgba(255, 255, 255, 0.08);
    --kh-text: #f5f5f7;
    --kh-muted: rgba(255, 255, 255, 0.62);
    --kh-accent: #e30613;
    --kh-accent-2: #ff5a1f;
    --kh-bot: rgba(255, 255, 255, 0.06);
    --kh-user: linear-gradient(135deg, #e30613 0%, #ff5a1f 100%);
    --kh-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --kh-radius: 22px;
}

#kh-chat-root {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#kh-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.95) 0%, rgba(10, 10, 15, 0.98) 100%);
    color: var(--kh-text);
    padding: 14px 18px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--kh-shadow);
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    backdrop-filter: blur(12px);
}

#kh-chat-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 90, 31, 0.38);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.kh-chat-toggle-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kh-accent), var(--kh-accent-2));
    box-shadow: 0 0 16px rgba(227, 6, 19, 0.6);
}

#kh-chat-panel {
    width: 390px;
    max-width: calc(100vw - 24px);
    height: 640px;
    max-height: calc(100vh - 100px);
    margin-top: 14px;
    background:
        radial-gradient(circle at top left, rgba(227, 6, 19, 0.16), transparent 35%),
        radial-gradient(circle at top right, rgba(255, 90, 31, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(17, 17, 24, 0.98) 0%, rgba(8, 8, 12, 0.98) 100%);
    border: 1px solid var(--kh-border);
    border-radius: 28px;
    box-shadow: var(--kh-shadow);
    backdrop-filter: blur(18px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kh-hidden {
    display: none !important;
}

.kh-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 16px;
    border-bottom: 1px solid var(--kh-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.kh-chat-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kh-chat-brand-icon {
    display: flex;
    align-items: flex-end;
    /* changed from 'end' for standard compatibility */
    gap: 2px;
    width: 24px;
    height: 24px;
}

.kh-chat-brand-icon span {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9a1f 0%, #ff5a1f 45%, #e30613 100%);
    display: block;
}

.kh-chat-brand-icon span:nth-child(1) {
    height: 12px;
}

.kh-chat-brand-icon span:nth-child(2) {
    height: 20px;
}

.kh-chat-brand-icon span:nth-child(3) {
    height: 16px;
}

.kh-chat-brand-icon span:nth-child(4) {
    height: 10px;
}

.kh-chat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kh-text);
    line-height: 1.1;
}

.kh-chat-subtitle {
    font-size: 12px;
    color: var(--kh-muted);
    margin-top: 2px;
}

.kh-chat-icon-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--kh-text);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
}

.kh-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.kh-msg {
    display: flex;
}

.kh-msg-bot {
    justify-content: flex-start;
}

.kh-msg-user {
    justify-content: flex-end;
}

.kh-msg-bubble {
    max-width: 82%;
    padding: 13px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.kh-msg-bot .kh-msg-bubble {
    background: var(--kh-bot);
    color: var(--kh-text);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 6px;
}

.kh-msg-user .kh-msg-bubble {
    background: var(--kh-user);
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.22);
}

.kh-chat-quick-actions {
    display: flex;
    gap: 8px;
    padding: 0 18px 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.kh-chat-quick-actions::-webkit-scrollbar {
    display: none;
}

.kh-quick-action {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--kh-text);
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.kh-quick-action:hover {
    border-color: rgba(255, 90, 31, 0.38);
    background: rgba(255, 255, 255, 0.06);
}

.kh-chat-input-wrap {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--kh-border);
    background: rgba(7, 7, 11, 0.75);
}

#kh-chat-input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--kh-text);
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 14px;
    outline: none;
}

#kh-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

#kh-chat-input:focus {
    border-color: rgba(255, 90, 31, 0.38);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

#kh-chat-send {
    border: none;
    background: linear-gradient(135deg, #e30613 0%, #ff5a1f 100%);
    color: white;
    padding: 0 18px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    min-height: 48px;
    transition: opacity 0.2s ease;
}

#kh-chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kh-chat-footer {
    padding: 0 18px 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.kh-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.kh-typing span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    display: block;
    animation: kh-bounce 1.2s infinite ease-in-out;
}

.kh-typing span:nth-child(2) {
    animation-delay: .15s;
}

.kh-typing span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes kh-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.7);
        opacity: .4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    #kh-chat-root {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    #kh-chat-toggle {
        width: 100%;
        justify-content: center;
    }

    #kh-chat-panel {
        width: 100%;
        height: 72vh;
        max-height: 72vh;
    }
}