* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: rgba(40, 40, 40, 0.6);
    --accent-primary: #8B7EC8;
    --accent-secondary: #A391E0;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B4B4;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --gradient-bg: radial-gradient(circle at 50% 50%, rgba(139, 126, 200, 0.15) 0%, rgba(139, 126, 200, 0.05) 40%, transparent 70%), #121212;
    --gradient-accent: linear-gradient(135deg, #8B7EC8 0%, #A391E0 100%);
}

/* Custom Cursor with Color Inversion */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.3s ease;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    opacity: 0.7;
}

* {
    cursor: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism utility class */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 250px;
    width: 170x;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    display: none; /* Removing extra CTA from nav for minimal design */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5.5rem, 5vw, 7.5rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero h1 .gradient-text {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 4rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: var(--gradient-accent);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 30px rgba(139, 126, 200, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(139, 126, 200, 0.5);
    border-color: rgba(255, 255, 255, 1);
}

/* Remove secondary CTA and decorative elements for minimal design */
.cta-secondary,
.hero-decoration {
    display: none;
}

/* Section Styling */
.section {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(120deg, rgba(185, 169, 255, 0.3) 0%, rgba(163, 145, 224, 0.3) 100%);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    position: relative;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(185, 169, 255, 0.2) 0%, rgba(163, 145, 224, 0.2) 100%);
    border-radius: 4px;
    z-index: -1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #141414;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    width: 100%;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(139, 126, 200, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(139, 126, 200, 0.1);
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(139, 126, 200, 0.08);
    transform: translateY(-2px);
}

.about-feature-icon {
    font-size: 1.5rem;
    opacity: 0.9;
}

.about-feature span {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Services Section */
/* Services Section */
#services {
    background: #0f0f0f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.service-card {
    min-height: 320px;
    height: auto;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 126, 200, 0.2);
    box-shadow: 0 25px 50px rgba(139, 126, 200, 0.15);
}

.service-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card:hover h3 {
    color: var(--accent-secondary);
}

.service-card p {
    color: #FFFFFF;
    line-height: 1.65;
    font-size: 1.05rem;
    font-weight: 300;
}


/* Portfolio Section */
#portfolio {
    background: #1a1a1a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.portfolio-item {
    position: relative;
    height: 320px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 126, 200, 0.2);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    backdrop-filter: blur(10px);
}

.portfolio-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-accent);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

/* Contact Section */
#contact {
    background: #0f0f0f;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 4rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    border-color: rgba(139, 126, 200, 0.2);
}

.contact-item-header {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.5;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 126, 200, 0.2);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 25px rgba(139, 126, 200, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-accent);
    color: #000;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 126, 200, 0.4);
}

/* Footer */
footer {
    background: #0a0a0a;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    width: 55px;
    height: 55px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.social-link:hover {
    color: var(--text-primary);
    border-color: rgba(139, 126, 200, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 126, 200, 0.2);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for different elements */
.service-card.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.portfolio-item.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio-item.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio-item.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.portfolio-item.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.contact-item.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-item.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-item.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.contact-item.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.about-feature.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.about-feature.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.about-feature.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.about-feature.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: clamp(5rem, 6vw, 6rem);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-card,
    .portfolio-item {
        padding: 2rem 1.5rem;
    }
    
    .hero-eyebrow {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .section-eyebrow {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}