/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #00f0ff;
    --text-color: #2a2a2a;
    --text-light: #6a6a6a;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --border-color: #d0d0d0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a {
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 240, 255, 0.1) 100%);
    pointer-events: none;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.hero .accent {
    color: var(--accent-color);
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 2rem auto 0;
    display: block;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    filter: invert(1);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.features .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 3rem 2.5rem;
    border-radius: 0;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background-color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background-color: var(--primary-color);
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.page-header h2 {
    font-size: 3rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ===== CONTENT SECTIONS ===== */
.content {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h3 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.8rem;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-item h3,
.service-item p {
    position: relative;
    z-index: 1;
}

.service-item:hover h3,
.service-item:hover p {
    color: var(--white);
}

.service-item h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro h3 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.8rem;
}

.contact-intro h3:first-child {
    margin-top: 0;
}

.contact-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.1rem;
}

.email-contact {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem 0;
    border-top: 2px solid var(--medium-gray);
    border-bottom: 2px solid var(--medium-gray);
}

.email-link {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.email-link:hover {
    color: var(--accent-color);
}

.contact-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.contact-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    color: var(--text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--medium-gray);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
    border-top: 3px solid var(--accent-color);
}

footer p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features h2,
    .page-header h2 {
        font-size: 2rem;
    }

    .feature-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}
