:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #ff5f1f;
    /* Neon Orange */
    --secondary-color: #0d0d0d;
    --accent-color: #1a1a1a;

    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 95, 31, 0.15);
    --glass-blur: blur(16px);

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

    /* Fluid Typography */
    --h1-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --h2-size: clamp(2rem, 4vw + 1rem, 3rem);
    --p-size: clamp(1rem, 2vw, 1.125rem);

    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select,
button {
    font-size: 16px;
    /* Prevent iOS zoom */
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    /* Fix horizontal scroll */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    /* Use 100% instead of 100vw to account for scrollbars */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.globe-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.3), transparent);
    top: -100px;
    left: -100px;
}

.globe-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 50, 100, 0.4), transparent);
    bottom: -100px;
    right: -100px;
}

.globe-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.15), transparent);
    top: 40%;
    left: 40%;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

p {
    font-size: var(--p-size);
    color: var(--text-muted);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.gradient-text {
    background: linear-gradient(135deg, #ff5f1f 0%, #ff9e00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 95, 31, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px rgba(255, 95, 31, 0.1);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 95, 31, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover::after {
    width: 100%;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Navbar removed */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    /* Removed padding since nav is gone */
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Language Buttons in Hero */
.big-lang-btn {
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #fff;
    border: 1px solid var(--primary-color);
}

.big-lang-btn:hover {
    background: rgba(255, 95, 31, 0.1);
    transform: translateY(-2px);
}

.big-lang-btn.active {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 95, 31, 0.4);
}

.hero-logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    /* Filter removed to show original logo colors */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-header h2 {
    font-size: 2rem;
    white-space: nowrap;
}

.line {
    height: 1px;
    background: #233554;
    width: 100%;
    max-width: 300px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(17, 34, 64, 0.9);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #8892b0;
    font-size: 0.9rem;
}

/* Floating Digital Strategy Chat */
.floating-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 320px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.floating-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.chat-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.chat-subtitle {
    font-size: 0.8rem;
    color: #8892b0;
}

.floating-chat-close {
    background: transparent;
    border: none;
    color: #8892b0;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
    /* visually a bit higher */
}

.floating-chat-close:hover {
    color: var(--primary-color);
}

.floating-chat-messages {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 8px;
}

.chat-message {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid var(--primary-color);
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.03);
    border-right: 2px solid #1dd1a1;
    text-align: right;
}

.floating-chat-form {
    display: flex;
    gap: 6px;
}

.floating-chat-input {
    flex: 1;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 16px;
}

.floating-chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.floating-chat-send {
    padding-inline: 14px;
    font-size: 0.85rem;
}

/* Why Us Section */
.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #888;
}

.contact-item a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form {
    padding: 40px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: #8892b0;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

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

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

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .services-with-chat {
        grid-template-columns: 1fr;
    }

    .chat-widget {
        position: static;
        max-width: 100%;
        margin-top: 30px;
    }

    .nav-container {
        position: relative;
    }

    .lang-switch-container {
        margin-right: 50px;
        /* Space for burger menu */
    }

    /* Fix invisible text: Allow wrapping */
    .section-header h2 {
        white-space: normal;
        font-size: 1.75rem;
    }

    /* Performance: Disable heavy effects */
    .background-globes {
        display: none;
        /* Huge FPS boost */
    }

    .glass {
        background: rgba(20, 20, 20, 0.95);
        /* Solid fallback */
        backdrop-filter: none;
        /* Remove expensive blur */
        -webkit-backdrop-filter: none;
    }
}