:root {
    --orange-primary: #ff6b2c;
    --orange-light: #ff8c5a;
    --orange-dark: #e55a1f;
    --grey-darkest: #0d0d0d;
    --grey-dark: #1a1a1a;
    --grey-medium: #2a2a2a;
    --grey-light: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--grey-darkest);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, var(--grey-darkest), transparent);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-primary);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 44, 0.3);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(255, 107, 44, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(255, 107, 44, 0.08) 0%, transparent 40%),
        linear-gradient(to bottom, var(--grey-darkest), var(--grey-dark));
    z-index: -1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 107, 44, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 44, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--grey-medium);
    border: 1px solid var(--grey-light);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge span {
    color: var(--orange-primary);
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    background: var(--grey-medium);
    border: 1px solid var(--grey-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--grey-light);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange-primary);
}

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

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    background: var(--grey-medium);
    border-radius: 16px;
    border: 1px solid var(--grey-light);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1400px) {
    .hero-visual {
        width: 50%;
        max-width: 800px;
    }
}

@media (min-width: 1800px) {
    .hero-visual {
        width: 55%;
        max-width: 950px;
    }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: var(--grey-dark);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--grey-medium);
    border: 1px solid var(--grey-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.2), rgba(255, 107, 44, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange-primary);
    fill: none;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* CTA Section */
.cta {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--grey-dark), var(--grey-darkest));
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--grey-medium), var(--grey-dark));
    border: 1px solid var(--grey-light);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-box .btn {
    position: relative;
}

/* Pricing Section */
.pricing {
    padding: 6rem 5%;
    background: var(--grey-darkest);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--grey-medium);
    border: 2px solid var(--orange-primary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 44, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.pricing-amount {
    position: relative;
}

.pricing-amount .currency {
    font-size: 2rem;
    font-weight: 700;
    vertical-align: top;
    color: var(--text-secondary);
}

.pricing-amount .value {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-amount .period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.pricing-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
    position: relative;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-light);
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange-primary);
    flex-shrink: 0;
}

.pricing-card .btn {
    position: relative;
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 5%;
    background: var(--grey-dark);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-card {
    background: var(--grey-medium);
    border: 1px solid var(--grey-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-study-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--grey-dark), var(--grey-darkest));
    border-bottom: 1px solid var(--grey-light);
}

.case-study-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.case-study-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.case-study-type {
    font-size: 0.875rem;
    color: var(--orange-primary);
    font-weight: 500;
}

.case-study-content {
    padding: 1.5rem 2rem 2rem;
}

.case-study-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.case-study-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-study-stat {
    text-align: left;
}

.case-study-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.case-study-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.case-study-link:hover {
    color: var(--orange-primary);
}

.case-study-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: var(--grey-dark);
}

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

.contact-form {
    background: var(--grey-medium);
    border: 1px solid var(--grey-light);
    border-radius: 16px;
    padding: 2.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--grey-dark);
    border: 1px solid var(--grey-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.15);
}

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

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

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

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

.form-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
}

.toast.error {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.toast svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Footer */
footer {
    padding: 3rem 5%;
    background: var(--grey-darkest);
    border-top: 1px solid var(--grey-medium);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

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

    .cta-box {
        padding: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
