/* ===== CSS VARIABLES ===== */
:root {
    --header-height: 6rem;
    
    /* Colors */
    --primary-color: #2563eb;
    --primary-color-alt: #1d4ed8;
    --secondary-color: #f59e0b;
    --text-color: #374151;
    --text-color-light: #6b7280;
    --body-color: #ffffff;
    --container-color: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-light: 0 2px 16px hsla(220, 32%, 8%, 0.1);
    --shadow-medium: 0 4px 32px hsla(220, 32%, 8%, 0.15);
    
    /* Typography */
    --body-font: 'Inter', sans-serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.875rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    
    /* Margins */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 2rem;
        --h1-font-size: 1.875rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--body-font);
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--text-color);
    margin-bottom: var(--mb-0-5);
}

.section__subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-color-alt);
    transform: translateY(-2px);
}

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

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: var(--h3-font-size);
}

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav__logo h2 {
    color: var(--primary-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin: 0;
}

.nav__menu {
    display: flex;
    column-gap: 2rem;
    align-items: center;
}

.nav__item {
    position: relative;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav__link.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.nav__link.contact-btn:hover {
    background: var(--primary-color-alt);
    color: white;
}

.nav__toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero__content {
    max-width: 500px;
}

.hero__subtitle {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--mb-1);
}

.hero__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1-5);
    line-height: 1.1;
}

.hero__description {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    margin-bottom: var(--mb-2-5);
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background: var(--body-color);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.service__card {
    background: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    font-size: 2rem;
    color: white;
}

.service__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--text-color);
}

.service__description {
    color: var(--text-color-light);
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 0;
    background: var(--container-color);
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features__content {
    max-width: 800px;
    margin: 0 auto;
}

.features__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: var(--mb-3);
}

.feature__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature__content h3 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    color: var(--text-color);
}

.feature__content p {
    color: var(--text-color-light);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    color: white;
}

.cta__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.cta__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1-5);
    color: white;
}

.cta__description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2-5);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn--primary:hover {
    background: var(--container-color);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: var(--mb-2-5);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--primary-color);
}

.footer__subtitle {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-1);
    color: white;
}

.footer__description {
    margin-bottom: var(--mb-1-5);
    opacity: 0.8;
    line-height: 1.6;
}

.footer__contact p {
    margin-bottom: var(--mb-0-5);
    opacity: 0.8;
}

.footer__contact i {
    margin-right: var(--mb-0-5);
    color: var(--primary-color);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--mb-0-5);
}

.footer__links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer__bottom {
    padding-top: var(--mb-1-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 4rem;
    }
    
    .features__list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-medium);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__item {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .nav__link {
        padding: 1rem;
        display: block;
        width: 100%;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .hero {
        padding: calc(var(--header-height) + 2rem) 0 2rem;
        min-height: auto;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .service__card {
        padding: 1.5rem;
    }
    
    .hero__image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service__card,
.feature__item {
    animation: fadeInUp 0.6s ease forwards;
}

.service__card:nth-child(2) { animation-delay: 0.1s; }
.service__card:nth-child(3) { animation-delay: 0.2s; }
.service__card:nth-child(4) { animation-delay: 0.3s; }
.service__card:nth-child(5) { animation-delay: 0.4s; }
.service__card:nth-child(6) { animation-delay: 0.5s; }

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}