/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0a0a0a;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    --accent-green: #22c55e;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible-element {
    opacity: 1;
    transform: translateY(0);
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: white;
    color: #0a0a0a;
    border: none;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Prevent scrollbars if particles go out */
}

.eyebrow {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 30px;
}

/* Benefits Row */
.benefits-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefit-icon {
    color: var(--accent-green);
    font-weight: bold;
}

/* Reassurance Section */
.reassurance-section {
    padding: 60px 0;
}

.reassurance-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reassurance-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.reassurance-card>p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.reassurance-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 600;
}

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

/* Sectors */
.sectors-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sector-chip {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-number {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.glass-card h3 {
    margin-bottom: 12px;
}

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

.result-highlight {
    color: var(--accent-green) !important;
    font-weight: 600;
    margin: 8px 0;
}

/* Evaluation Form */
.evaluation-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.glass-form {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    /* gradient border effect */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

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

/* Inputs & Selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    /* Removes default arrow on iOS */
    appearance: none;
}

input:focus,
select:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

/* Custom Select Arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.7rem;
    pointer-events: none;
}

/* Fix for Select Options (browser default is white) */
select option {
    background-color: #0a0a0a;
    color: white;
    padding: 10px;
}

/* Radio Cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

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

/* Selected Radio State */
/* Selected Radio State */
.radio-card input:checked+.card-content {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.radio-card input:checked+.card-content .card-icon {
    color: var(--accent-green);
}

.radio-card input:checked+.card-content .card-text {
    color: #fff;
}

/* Two-column layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

    .glass-form {
        padding: 24px;
    }
}

/* Submit Button Block */
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    font-size: 1rem;
    background: white;
    color: black;
    font-weight: 600;
    border: none;
    margin-top: 20px;
}

.btn-block:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Success Message */
.hidden {
    display: none;
}

.success-card {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--accent-green);
    animation: fadeIn 0.6s ease-out;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.success-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.success-card p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* Automation Examples Section */
.interactive-section {
    padding: 80px 0;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 10px auto 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-subtitle {
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tab-btn:hover svg,
.tab-btn.active svg {
    opacity: 1;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-green);
    color: black;
    border-color: var(--accent-green);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.example-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-side {
    flex: 1;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: left;
}

.card-side.before {
    border-left: 2px solid #ef4444;
}

.card-side.after {
    border-left: 2px solid var(--accent-green);
    background: rgba(34, 197, 94, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.status-badge.chaos {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge.order {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.arrow-separator {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.example-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.example-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Privacy Modal */
.modal {
    display: flex;
    /* Flex to center */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.visible-element {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: white;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 20px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }

    /* Nav Mobile */
    nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-links {
        display: none;
        /* Hide nav links on mobile, show only logo + lang toggle */
    }

    .logo {
        font-size: 1.2rem;
    }

    #lang-toggle {
        display: block;
        position: absolute;
        right: 16px;
        top: 20px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 70vh !important;
        padding-top: 20px;
    }

    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
        padding: 0 10px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .benefits-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .benefit-item {
        font-size: 0.85rem;
    }

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

    /* Reassurance Mobile */
    .reassurance-card {
        padding: 24px 16px;
    }

    .reassurance-card h2 {
        font-size: 1.3rem;
    }

    .reassurance-steps {
        gap: 20px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Automation Examples Mobile Adjustments */
    .example-card {
        flex-direction: column;
        padding: 20px;
    }

    .arrow-separator {
        transform: rotate(90deg);
        justify-content: center;
        margin: 10px 0;
    }

    /* Sectors Mobile (Legacy reference) */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .sector-chip {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Cards Mobile */
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .glass-card {
        padding: 20px;
    }

    .glass-card h3 {
        font-size: 1rem;
    }

    /* Form Mobile */
    .glass-form {
        padding: 20px;
    }

    .radio-cards {
        grid-template-columns: 1fr;
    }

    /* Footer */
    footer {
        padding: 30px 0 !important;
        margin-top: 40px !important;
        font-size: 0.8rem !important;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}