
:root {
    --bg-color: #050507;
    --card-bg: rgba(255, 255, 255, 0.025);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-hover: rgba(139, 92, 246, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-indigo: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Ambient glow background effects */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    z-index: 9999;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    background: rgba(5, 5, 7, 0.75);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-btn {
    background: var(--accent-gradient);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 45px;
    max-width: 700px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.primary-btn {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(6, 182, 212, 0.6);
}

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

.secondary-btn:hover {
    border-color: var(--accent-indigo);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
}

.hero-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 110px 8%;
    max-width: 1350px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.about-card {
    padding: 50px;
}

.about-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

.stats-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
}

.stat-box h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.exp-card {
    padding: 45px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
}

.exp-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.exp-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.exp-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.work-card {
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15);
}

.work-img-placeholder {
    height: 240px;
    position: relative;
    overflow: hidden;
    padding: 25px;
    display: flex;
    align-items: flex-start;
}

.work-tag {
    background: rgba(5, 5, 7, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.work-preview-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.85;
}

.p1 { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%); }
.p2 { background: linear-gradient(135deg, #082f49 0%, #0369a1 50%, #0284c7 100%); }
.p3 { background: linear-gradient(135deg, #4c0519 0%, #831843 50%, #be185d 100%); }

.work-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.work-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.work-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.work-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-tech span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-card {
    padding: 90px 40px;
    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%);
}

.contact-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 15px 0 20px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        padding: 20px 5%;
    }
    .nav-links {
        display: none;
    }
    .section {
        padding: 80px 5%;
    }
}
