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

:root {
    --primary: #ff6b35;
    --primary-dark: #e55100;
    --secondary: #ffc107;
    --accent: #ff9558;
    --dark: #1a0f0a;
    --light: #2d1810;
    --text-light: #ffeedd;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f88d15 50%, #fdab30 100%);
    --medium-gradient: linear-gradient(135deg, #ff3535 0%, #fdab30 50%, #f88d15 100%);
    --dark-gradient: linear-gradient(135deg, #1a0f0a 0%, #2d1810 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background: var(--dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 25%, #3d2418 50%, #2d1810 75%, #1a0f0a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(26, 15, 10, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

nav.scrolled {
    background: rgba(26, 15, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8));
}

.fire-logo {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

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

.cta-button {
    background: var(--gradient);
    color: white;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideInLeft 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text h1 .highlight {
    background: var(--medium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 238, 221, 0.9);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.primary-button {
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.secondary-button {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(255, 107, 53, 0.1);
}

.secondary-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* 3D Configurator Demo */
.configurator-demo {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

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

.demo-screen {
    background: rgba(26, 15, 10, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 500px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.demo-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

.demo-dot:nth-child(2) { background: #ffc107; }
.demo-dot:nth-child(3) { background: #ff9558; }

.product-builder {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.options-panel {
    background: rgba(45, 24, 16, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group h4 {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.option-btn {
    padding: 0.5rem 1rem;
    background: rgba(26, 15, 10, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-light);
}

.option-btn.active {
    background: var(--gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.preview-area {
    position: relative;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.product-preview {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 20px;
    position: relative;
    transform: rotateX(-20deg) rotateY(30deg);
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.product-preview::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.price-display {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #1a0f0a 0%, #2d1810 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 238, 221, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(45, 24, 16, 0.4);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 24, 16, 0.6);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 15, 10, 0.9);
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
    filter: brightness(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: rgba(255, 238, 221, 0.7);
    line-height: 1.8;
}

/* Integration Section */
.integrations {
    padding: 6rem 5%;
    background: #1a0f0a;
    position: relative;
    overflow: hidden;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.integration-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.integration-text p {
    font-size: 1.1rem;
    color: rgba(255, 238, 221, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.integration-list {
    list-style: none;
}

.integration-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(45, 24, 16, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.integration-list li:hover {
    background: rgba(45, 24, 16, 0.6);
    transform: translateX(10px);
    border-color: var(--primary);
    cursor: pointer;
}

.integration-list li a {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}

.integration-list li a:hover {
    transform: translateX(5px);
}

.integration-list li a:hover strong {
    color: var(--accent) !important;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.integration-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.integration-hub {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
    animation: pulse 2s ease-in-out infinite;
    position: absolute;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 25px 50px rgba(255, 107, 53, 0.6); }
}

.integration-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(45, 24, 16, 0.9);
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-node:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.integration-node:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.integration-node:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.integration-node:nth-child(5) { top: 50%; left: 0; transform: translateY(-50%); }

.integration-node:nth-child(2):hover { transform: translateX(-50%) scale(1.05); }
.integration-node:nth-child(3):hover { transform: translateY(-50%) scale(1.05); }
.integration-node:nth-child(4):hover { transform: translateX(-50%) scale(1.05); }
.integration-node:nth-child(5):hover { transform: translateY(-50%) scale(1.05); }

.integration-node:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    color: var(--accent);
}

.integration-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.integration-line:nth-child(6) {
    width: 2px;
    height: 60px;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
}
.integration-line:nth-child(7) {
    width: 60px;
    height: 2px;
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
}
.integration-line:nth-child(8) {
    width: 2px;
    height: 60px;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}
.integration-line:nth-child(9) {
    width: 60px;
    height: 2px;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
}

/* Pricing Model Section */
.pricing-model {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #2d1810 0%, #1a0f0a 100%);
}

.pricing-demo {
    background: rgba(45, 24, 16, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--secondary);
}

.input-group input,
.input-group select {
    padding: 0.8rem;
    border: 2px solid rgba(255, 107, 53, 0.3);
    background: rgba(26, 15, 10, 0.8);
    color: var(--text-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.calc-output {
    background: var(--gradient);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.price-line:last-child {
    border-bottom: none;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255,255,255,0.3);
}

/* Benefits Section */
.benefits {
    padding: 6rem 5%;
    background: #1a0f0a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(45, 24, 16, 0.4);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 24, 16, 0.6);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 15, 10, 0.9);
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
    filter: brightness(1.2);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.benefit-card p {
    color: rgba(255, 238, 221, 0.7);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    background: var(--gradient);
    text-align: center;
    color: white;
    box-shadow: 0 -10px 40px rgba(255, 107, 53, 0.3);
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-section .primary-button {
    background: white;
    color: var(--primary);
}

.cta-section .secondary-button {
    border-color: white;
    color: white;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--text-light);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 238, 221, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Integration Guide Styles */
.integration-overview {
    margin: 4rem 0;
}

.integration-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.integration-card {
    background: rgba(45, 24, 16, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.integration-card:hover::before {
    transform: scaleX(1);
}

.integration-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 24, 16, 0.6);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
}

.integration-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: brightness(1.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.integration-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.integration-card-icon.has-logo {
    font-size: 0; /* Hide emoji when logo is present */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px;
}

.integration-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.integration-card p {
    color: rgba(255, 238, 221, 0.7);
    margin-bottom: 1rem;
}

.card-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.integration-card:hover .card-arrow {
    transform: translateX(5px);
}

.api-architecture {
    margin: 4rem 0;
}

.api-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: nowrap;
}

.api-step {
    background: rgba(45, 24, 16, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 0;
    position: relative;
}

.workflow-step {
    background: rgba(45, 24, 16, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.api-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.api-step p {
    font-size: 0.9rem;
    color: rgba(255, 238, 221, 0.7);
}

.api-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

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

.code-block {
    background: rgba(26, 15, 10, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    color: var(--text-light);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.code-block .comment {
    color: #888;
}

.code-block .string {
    color: #f39c12;
}

.code-block .keyword {
    color: #e74c3c;
}

.code-block .number {
    color: #3498db;
}

.integration-endpoints {
    background: rgba(45, 24, 16, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.endpoint:last-child {
    border-bottom: none;
}

.endpoint-method {
    background: var(--gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
    min-width: 60px;
    text-align: center;
}

.endpoint-path {
    font-family: monospace;
    color: var(--primary);
    font-weight: 500;
}

.endpoint-description {
    color: rgba(255, 238, 221, 0.8);
    flex: 1;
}

.auth-requirements {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.auth-requirements h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.auth-list {
    list-style: none;
    padding: 0;
}

.auth-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-list li::before {
    content: '🔑';
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    *:not(html):not(body) {
        max-width: 100%;
        box-sizing: border-box;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Typography */
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    /* Layout */
    .hero-content {
        grid-template-columns: 1fr;
        padding: 6rem 5% 2rem !important;
        min-height: auto !important;
    }

    .hero {
        min-height: auto !important;
        padding-top: 100px !important;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    section {
        padding: 3rem 5% !important;
        overflow-x: hidden;
    }

    .integrations {
        overflow-x: hidden !important;
        width: 100%;
    }

    /* Navigation */
    nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .nav-container {
        padding: 1rem 5%;
    }

    .logo-img {
        height: 35px;
    }

    .nav-links {
        display: none;
    }

    /* Hamburger Menu */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: all 0.3s ease;
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-menu {
        display: block !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 15, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 5%;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

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

    .mobile-menu .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    }

    .mobile-menu .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu .cta-button,
    .mobile-menu .secondary-button {
        display: block;
        margin-top: 1rem;
        text-align: center;
    }

    /* Grids */
    .features-grid,
    .benefits-grid,
    .integration-cards,
    .api-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .integration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards */
    .feature-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .feature-card h3,
    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .feature-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Pricing Calculator */
    .pricing-calculator {
        grid-template-columns: 1fr;
    }

    .calc-inputs {
        grid-template-columns: 1fr;
    }

    /* Product Builder Demo */
    .product-builder {
        grid-template-columns: 1fr;
    }

    .configurator-demo {
        padding: 1rem;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-button,
    .secondary-button,
    .cta-button {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        display: block !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    a.primary-button,
    a.secondary-button {
        display: block;
    }

    /* API Flow */
    .api-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .api-step {
        min-width: auto;
    }

    .api-arrow {
        transform: rotate(90deg);
    }

    /* Data Flow Diagram - Mobile scaled version */
    .integration-visual {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1rem 0 !important;
        min-height: 400px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .dataflow-diagram {
        display: grid !important;
        grid-template-columns: 70px 60px 85px 60px 70px !important;
        grid-template-rows: auto 40px auto 40px auto !important;
        gap: 0 !important;
        align-items: center !important;
        justify-items: center !important;
        scale: 0.85 !important;
        transform-origin: center center !important;
        margin: 0 auto !important;
    }

    .flow-node {
        width: 100% !important;
        max-width: none !important;
        min-width: auto !important;
        padding: 0.5rem 0.25rem !important;
        box-sizing: border-box !important;
    }

    .node-label {
        font-size: 0.65rem !important;
        word-wrap: break-word !important;
        line-height: 1.2 !important;
    }

    .node-sublabel {
        font-size: 0.5rem !important;
        word-wrap: break-word !important;
        line-height: 1.2 !important;
    }

    .ignitionary-hub {
        padding: 0.65rem 0.25rem !important;
    }

    .ignitionary-hub .node-label {
        font-size: 0.75rem !important;
    }

    .ignitionary-hub .node-sublabel {
        font-size: 0.55rem !important;
    }

    /* Scale down arrows */
    .arrow-down::before,
    .arrow-up::before {
        height: 25px !important;
    }

    .arrow-left::before,
    .arrow-right::before {
        width: 25px !important;
    }

    /* Scale down labels */
    .flow-label {
        font-size: 0.45rem !important;
        line-height: 1.1 !important;
    }

    .bidirectional-arrows.vertical .left-label {
        left: -55px !important;
        width: 65px !important;
        text-align: right !important;
    }

    .bidirectional-arrows.vertical .right-label {
        right: -15px !important;
        width: 65px !important;
        text-align: left !important;
    }

    .bidirectional-arrows.horizontal .top-label {
        top: -18px !important;
        left: 0% !important;
        transform: translateX(-50%) !important;
        width: 60px !important;
    }

    .bidirectional-arrows.horizontal .bottom-label {
        bottom: -18px !important;
        left: 0% !important;
        transform: translateX(-50%) !important;
        width: 60px !important;
    }

    .integration-accordions {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .integration-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 2rem !important;
        padding: 0 !important;
    }

    /* Accordion */
    .accordion-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .accordion-header {
        padding: 1rem !important;
        font-size: 0.9rem !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .accordion-title {
        font-size: 0.95rem !important;
        flex: 1 1 auto;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .accordion-toggle {
        font-size: 1.2rem !important;
        flex-shrink: 0;
    }

    .check-icon {
        width: 25px !important;
        height: 25px !important;
        font-size: 1rem !important;
        flex-shrink: 0;
    }

    .accordion-body {
        padding: 1rem !important;
        font-size: 0.9rem !important;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    .accordion-body h4 {
        font-size: 1rem !important;
    }

    .accordion-body ul {
        font-size: 0.85rem !important;
        padding-left: 1.5rem;
    }

    .accordion-body ul li {
        word-wrap: break-word;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    footer p {
        text-align: center;
    }

    /* Endpoints */
    .endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Accordion Styles */
.accordion-item {
    background: rgba(45, 24, 16, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 107, 53, 0.1);
}

.accordion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.accordion-title {
    flex: 1;
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    opacity: 1;
}

.accordion-body {
    padding: 0 2rem 2rem 2rem;
    color: rgba(255, 238, 221, 0.8);
    line-height: 1.8;
}

.accordion-body h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.accordion-body h4:first-child {
    margin-top: 0;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.accordion-body ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.accordion-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.supported-systems {
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.supported-systems strong {
    color: var(--primary);
}

.learn-more-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.learn-more-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Integration Accordions */
.integration-accordions {
    flex: 1;
}

/* Integration Visual - Data Flow Diagram */
.integration-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 2rem;
}

.dataflow-diagram {
    display: grid;
    grid-template-columns: 110px 100px 130px 100px 110px;
    grid-template-rows: auto 70px auto 70px auto;
    gap: 0;
    align-items: center;
    justify-items: center;
}

.flow-node {
    background: rgba(45, 24, 16, 0.8);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.flow-node:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.node-label {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.node-sublabel {
    font-size: 0.7rem;
    color: rgba(255, 238, 221, 0.6);
    line-height: 1.3;
}

.ignitionary-hub {
    background: var(--gradient);
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    grid-column: 3;
    grid-row: 3;
    padding: 1.25rem 0.75rem;
}

.ignitionary-hub .node-label {
    color: white;
    font-size: 1.1rem;
}

.ignitionary-hub .node-sublabel {
    color: rgba(255, 255, 255, 0.9);
}

.erp-node {
    grid-column: 3;
    grid-row: 1;
}

.crm-node {
    grid-column: 1;
    grid-row: 3;
}

.cad-node {
    grid-column: 5;
    grid-row: 3;
}

.db-node {
    grid-column: 3;
    grid-row: 5;
}

/* Flow Connections */
.flow-connection {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-connection {
    grid-column: 3;
    grid-row: 2;
}

.bottom-connection {
    grid-column: 3;
    grid-row: 4;
}

.left-connection {
    grid-column: 2;
    grid-row: 3;
}

.right-connection {
    grid-column: 4;
    grid-row: 3;
}

.bidirectional-arrows {
    display: flex;
    position: relative;
}

.bidirectional-arrows.vertical {
    flex-direction: row;
    gap: 0.5rem;
}

.bidirectional-arrows.horizontal {
    flex-direction: column;
    gap: 0.5rem;
}

.arrow-pair {
    display: flex;
    align-items: center;
    position: relative;
}

/* Vertical arrows (up/down) */
.bidirectional-arrows.vertical .arrow-pair {
    flex-direction: column;
}

/* Horizontal arrows (left/right) */
.bidirectional-arrows.horizontal .arrow-pair {
    flex-direction: row;
}

/* Arrow styles */
.arrow-down,
.arrow-up,
.arrow-left,
.arrow-right {
    position: relative;
}

.arrow-down::before,
.arrow-up::before {
    content: '';
    display: block;
    width: 2px;
    height: 35px;
    background: var(--primary);
}

.arrow-left::before,
.arrow-right::before {
    content: '';
    display: block;
    height: 2px;
    width: 40px;
    background: var(--primary);
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: var(--primary) transparent transparent transparent;
}

.arrow-up::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 8px 5px;
    border-color: transparent transparent var(--primary) transparent;
}

.arrow-left::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 8px 5px 0;
    border-color: transparent var(--primary) transparent transparent;
}

.arrow-right::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent var(--primary);
}

/* Flow labels */
.flow-label {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* Label positioning for vertical arrows */
.bidirectional-arrows.vertical .left-label {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    width: 70px;
}

.bidirectional-arrows.vertical .right-label {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    width: 70px;
}

/* Label positioning for horizontal arrows */
.bidirectional-arrows.horizontal .top-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.bidirectional-arrows.horizontal .bottom-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #1a0f0a 0%, #2d1810 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(45, 24, 16, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.faq-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.faq-item.active .accordion-content {
    max-height: 2000px;
    opacity: 1;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question span:first-child {
    flex: 1;
}
