/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-text-light: #555555;
    --color-accent: #e5007f; /* Vibrant Fuchsia */
    --color-accent-hover: #c4006d;
    --color-dark: #0a0a0a;
    --color-dark-surface: #141414;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--color-dark);
    color: var(--color-bg);
}

.accent-text {
    color: var(--color-accent);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition-medium);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(229, 0, 127, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 0, 127, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.header-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: var(--transition-medium);
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 0, 127, 0.2) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--color-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-medium);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(229, 0, 127, 0.08);
    border-color: rgba(229, 0, 127, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text);
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.services .section-title p {
    color: #999;
    margin-top: 15px;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--color-dark-surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-medium);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-bg);
}

.service-card p {
    color: #999;
}

.service-card:hover {
    background-color: rgba(229, 0, 127, 0.05);
    border-color: rgba(229, 0, 127, 0.3);
    transform: translateY(-5px);
}

.highlight-card {
    background: linear-gradient(135deg, var(--color-dark-surface) 0%, rgba(229, 0, 127, 0.15) 100%);
    border-color: rgba(229, 0, 127, 0.3);
}

/* ==========================================================================
   Technology Section
   ========================================================================== */
.tech-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.tech-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-text p {
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tech-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
    background-color: var(--color-dark-surface);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
    background-image: radial-gradient(circle at top right, rgba(229, 0, 127, 0.15), transparent 50%);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #999;
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 25px;
}

.info-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.info-item p {
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #000;
    color: #666;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear,
.fade-in-left.appear,
.fade-in-right.appear {
    opacity: 1;
    transform: translate(0);
}

/* Delay for grid items */
.about-card:nth-child(1) { transition-delay: 0.1s; }
.about-card:nth-child(2) { transition-delay: 0.2s; }
.about-card:nth-child(3) { transition-delay: 0.3s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container,
    .tech-container,
    .contact-card {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }
    
    .tech-list li {
        text-align: left;
    }
    
    .contact-action {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-medium);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 40px 20px;
    }
}
