/* ===== CSS Variables ===== */
:root {
    --primary-color: #1DE9B6;
    --primary-dark: #00BFA5;
    --secondary-color: #00B0FF;
    --accent-color: #FF6B6B;
    
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #151515;
    --bg-card-hover: #1A1A1A;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #707070;
    
    --border-color: #252525;
    --border-hover: #353535;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(29, 233, 182, 0.3);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --header-height: 4.5rem;
    --container-padding: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Section ===== */
.section {
    padding: 5rem 0;
}

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

.section__subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

.hero__content {
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero__stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__image {
    position: relative;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(29, 233, 182, 0.5);
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn--secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--bg-darker);
}

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

.service__card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.service__card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service__icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.1) 0%, rgba(0, 176, 255, 0.1) 100%);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service__description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    background-color: var(--bg-dark);
}

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

.about__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 0.5rem;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature__text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Process Section ===== */
.process {
    background-color: var(--bg-darker);
}

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

.process__item {
    text-align: center;
    padding: 2rem;
}

.process__number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.process__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process__description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Portfolio Section ===== */
.portfolio {
    background-color: var(--bg-dark);
}

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

.portfolio__item {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio__item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.portfolio__category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(29, 233, 182, 0.1);
    color: var(--primary-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio__results {
    display: flex;
    gap: 2rem;
}

.result {
    display: flex;
    flex-direction: column;
}

.result__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result__label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--bg-darker);
}

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

.testimonial__card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.testimonial__quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial__text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    flex-shrink: 0;
}

.testimonial__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial__role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.1) 0%, rgba(0, 176, 255, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--bg-dark);
}

.contact__container {
    max-width: 700px;
    margin: 0 auto;
}

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

.form__group {
    position: relative;
}

.form__input {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 233, 182, 0.1);
}

.form__input::placeholder {
    color: var(--text-muted);
}

.form__textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.footer__logo-img {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer__description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 1rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer__company {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer__company-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.footer__address {
    margin-bottom: 0.75rem;
}

.footer__company-number {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--primary-color);
}

.footer__separator {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(29, 233, 182, 0.5);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    z-index: 10001;
}

.modal.show .modal__content {
    transform: scale(1) translateY(0);
}

.modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
    background: rgba(29, 233, 182, 0.1);
}

.modal__icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.2) 0%, rgba(0, 176, 255, 0.2) 100%);
    border-radius: 50%;
    color: var(--primary-color);
}

.modal__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal__button {
    min-width: 150px;
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-card);
        padding: 4rem 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }
    
    .nav__menu.show {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .hero__stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .services__grid,
    .portfolio__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .cta__title {
        font-size: 2rem;
    }
    
    .modal__content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .modal__title {
        font-size: 1.5rem;
    }
    
    .modal__text {
        font-size: 1rem;
    }
    
    .modal__icon {
        width: 4rem;
        height: 4rem;
    }
}

