:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent: #6366f1;
    --white: #ffffff;
    --container-max: 1200px;
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-mid: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

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

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 10rem 0 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
}

#orb1 {
    top: -100px;
    right: -100px;
    background: #4f46e5;
    animation: orbMove 15s infinite alternate;
}

#orb2 {
    bottom: -100px;
    left: -100px;
    background: #ec4899;
    animation: orbMove 12s infinite alternate-reverse;
}

@keyframes orbMove {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-100px, 100px) scale(0.9); }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.branding-frame {
    position: relative;
    width: 380px;
    height: 380px;
    z-index: 5;
    padding: 10px;
}

.branding-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
    animation: pulseGlow 5s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.05);
    background: rgba(30, 41, 59, 0.5);
    transition: var(--transition-mid);
}

.branding-frame:hover .image-wrapper {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.hero-bg-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    z-index: -2;
    opacity: 0.2;
}

.blur-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: blur(50px);
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 5s ease-in-out infinite;
}

.c1 { top: 10%; left: -25%; animation-delay: 0s; }
.c2 { bottom: 20%; right: -20%; animation-delay: 1.5s; }
.c3 { bottom: -10%; left: 0%; animation-delay: 3s; border-color: rgba(239, 68, 68, 0.2); }

.floating-card i {
    color: var(--accent);
}

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

/* ABOUT SECTION */
.about-section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-category {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.skill-category h3 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--white);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.skill-tags span:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* SERVICES SECTION */
.services-section {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--text-dim);
}

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

.service-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-mid);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

/* EXPERIENCE SECTION */
.exp-section {
    padding: 8rem 0;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* CONTACT SECTION */
.contact-section {
    padding: 8rem 0;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

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

.contact-methods {
    margin-top: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

.method i {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.w-full { width: 100%; border: none; }

/* PORTFOLIO SECTION */
.portfolio-section {
    padding: 8rem 0;
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-mid);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-mid);
}

.portfolio-info span {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    color: white;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.text-dim { color: var(--text-dim); }

/* TRENDING SECTION */
.trending-section {
    padding: 8rem 0;
}

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

.trend-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-mid);
    backdrop-filter: blur(10px);
}

.trend-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.trend-date {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 5px;
}

.trend-card h3 {
    margin-bottom: 1rem;
}

.trend-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.read-more {
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* FAQ SECTION */
.faq-section {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.2);
}

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

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* BLOG SECTION */
.blog-section {
    padding: 8rem 0;
}

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

.blog-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-mid);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
}

.blog-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* FOOTER ADMIN LINK */
.admin-link {
    display: block;
    margin-top: 2rem;
    opacity: 0.3;
    font-size: 0.7rem;
}

.admin-link:hover { opacity: 1; }

/* FOOTER */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

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

.social-links a {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* MOBILE RESPONSIVENESS (Expanded) */
@media (max-width: 992px) {
    .grid-2, .contact-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .stats-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-mid);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1000;
    }
    
    #navbar {
        padding: 1rem 0;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* CUSTOM CURSOR */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s cubic-bezier(0.1, 0, 0.1, 1);
    mix-blend-mode: difference;
}

@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none;
    }
}
