/* ============================================================================
   ALJABAL PORTFOLIO - MODERN CSS STYLES
   ============================================================================
   Organized, clean, and easy to understand CSS
   Colors and basic styling can be customized in the :root section below
   ============================================================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================================================
   COLOR SCHEME & VARIABLES
   ============================================================================
   Change these colors to customize your website theme!
   ============================================================================ */
:root {
    /* MAIN COLORS */
    --primary-purple: #9d4edd;
    --secondary-purple: #c77dff;
    --dark-purple: #5a189a;
    --accent-pink: #ff006e;
    --accent-cyan: #06ffa5;
    
    /* BACKGROUND COLORS */
    --bg-dark: #10002b;
    --bg-darker: #0a0014;
    --bg-card: #1a0033;
    --bg-glass: rgba(157, 78, 221, 0.1);
    
    /* TEXT COLORS */
    --text-white: #ffffff;
    --text-light: #e0aaff;
    --text-muted: #b794f6;
    
    /* EFFECTS */
    --border-glow: rgba(157, 78, 221, 0.5);
    --shadow-glow: rgba(157, 78, 221, 0.3);
    
    /* FONTS */
    --font-main: 'Poppins', sans-serif;
    --font-display: 'Orbitron', monospace;
    
    /* SPACING */
    --section-padding: 120px;
    --container-max: 1400px;
    --border-radius: 15px;
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ANIMATED BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--dark-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--accent-pink) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--accent-cyan) 0%, transparent 50%);
    opacity: 0.3;
    z-index: -2;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* CONTAINER */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 50px;
}

/* ============================================================================
   LOADING SCREEN
   ============================================================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.cyber-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(157, 78, 221, 0.2);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader p {
    color: var(--text-light);
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================================================
   FLOATING PARTICLES BACKGROUND
   ============================================================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-purple);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(36, 0, 70, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px var(--shadow-glow);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.4);
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--border-glow));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
    background: rgba(6, 255, 165, 0.1);
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================================ */

/* PRIMARY BUTTON */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    border-radius: var(--border-radius);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-text {
    z-index: 2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(157, 78, 221, 0.8)); }
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-avatar {
    width: 350px;
    height: 350px;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    padding: 15px;
    transform: rotate(-5deg);
    box-shadow: 0 25px 60px var(--shadow-glow);
    animation: heroFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hero-avatar:hover img {
    transform: scale(1.05);
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(-5deg) translateY(0px); }
    50% { transform: rotate(-5deg) translateY(-10px); }
}

/* FLOATING ELEMENTS */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border: 2px solid var(--secondary-purple);
    opacity: 0.6;
    animation: floatShape 8s ease-in-out infinite;
}

.floating-shape.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 20%;
    right: 10%;
}

.floating-shape.square {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 10%;
    animation-delay: -2s;
}

.floating-shape.triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--accent-pink);
    top: 80%;
    right: 30%;
    animation-delay: -4s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h3 {
    color: var(--accent-pink);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 25px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: var(--border-radius);
    opacity: 0;
    transform: translateY(30px);
}

.skill-box.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.skill-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-glow);
    border-color: var(--accent-cyan);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.skill-name {
    color: var(--secondary-purple);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================================
   PORTFOLIO SECTION
   ============================================================================ */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--secondary-purple);
    color: var(--secondary-purple);
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: all 0.3s ease;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--text-white);
    border-color: var(--accent-cyan);
    background: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 255, 165, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-glow);
    border-color: var(--accent-cyan);
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.view-btn {
    background: var(--accent-cyan);
    border: none;
    padding: 15px;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.portfolio-overlay:hover .view-btn {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(6, 255, 165, 0.4);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-title {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.portfolio-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--secondary-purple);
    color: var(--secondary-purple);
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 15px;
    font-weight: 500;
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
}

.contact-content {
    text-align: center;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-intro h3 {
    color: var(--accent-pink);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: var(--font-display);
}

.contact-intro p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.contact-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-glow);
    border-color: var(--accent-cyan);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--accent-cyan);
    transform: scale(1.1);
}

.contact-card h4 {
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--secondary-purple);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border: 2px solid var(--secondary-purple);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    background: var(--secondary-purple);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ============================================================================
   MODAL (IMAGE POPUP) - FIXED VERSION
   ============================================================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-card);
    border: 2px solid var(--secondary-purple);
    border-radius: var(--border-radius);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--accent-pink);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-cyan);
    transform: scale(1.1);
}

/* FIXED: Modal image sizing */
.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    min-height: 300px;
    overflow: hidden;
}

.modal img,
#modal-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-info {
    padding: 25px;
    background: var(--bg-card);
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    flex-shrink: 0;
}

.modal-info h3 {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

#modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#modal-tags .tag {
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--secondary-purple);
    color: var(--secondary-purple);
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 15px;
    font-weight: 500;
}

.modal-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--secondary-purple);
    color: var(--secondary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.social-link:hover {
    background: var(--secondary-purple);
    color: var(--text-white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-glow);
}

.social-link.itch {
    border-color: #fa5c5c;
    color: #fa5c5c;
}

.social-link.itch:hover {
    background: #fa5c5c;
    box-shadow: 0 15px 30px rgba(250, 92, 92, 0.4);
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================================================
   PRICING PAGE STYLES
   ============================================================================ */

/* Enhanced Pricing Page Background */
.pricing-page body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--dark-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--accent-pink) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--accent-cyan) 0%, transparent 50%),
        var(--bg-dark);
    opacity: 0.4;
    z-index: -2;
    animation: backgroundFloat 20s ease-in-out infinite;
}

/* Additional background layer for depth */
.pricing-page body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 0, 110, 0.08) 30%, transparent 70%);
    z-index: -1;
}

.pricing-hero {
    padding: 150px 50px 100px;
    text-align: center;
    background: rgba(16, 0, 43, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.pricing-section {
    background: var(--bg-dark);
    position: relative;
    padding: 60px 0 120px;
    min-height: 80vh;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.pricing-card {
    background: rgba(26, 0, 51, 0.9);
    border: 2px solid var(--primary-purple);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.1), transparent);
    transition: left 0.6s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(157, 78, 221, 0.4);
    border-color: var(--accent-cyan);
    background: rgba(26, 0, 51, 0.95);
}

.pricing-card.featured {
    border-color: var(--accent-pink);
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.9), rgba(255, 0, 110, 0.1));
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured::before {
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.15), transparent);
}

.pricing-card.featured:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-15px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(45deg, var(--accent-pink), #ff3385);
    color: var(--text-white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(157, 78, 221, 0.5);
}

.pricing-period {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    color: var(--text-light);
    padding: 12px 0;
    border-bottom: 1px solid rgba(157, 78, 221, 0.15);
    position: relative;
    padding-left: 35px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.pricing-features li:hover {
    color: var(--accent-cyan);
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 10px var(--accent-cyan);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 14px;
    border-radius: 5px;
}

.pricing-btn:hover {
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
}

.pricing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    transition: left 0.4s ease;
    z-index: -1;
}

.pricing-btn:hover::before {
    left: 0;
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(45deg, var(--accent-pink), #ff3385);
    border-color: var(--accent-pink);
    color: var(--text-white);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.3);
}

.pricing-card.featured .pricing-btn:hover {
    background: linear-gradient(45deg, var(--accent-cyan), #00e6a0);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 255, 165, 0.4);
}

.pricing-info {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px 50px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
    background: rgba(26, 0, 51, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.pricing-contact {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.9), rgba(157, 78, 221, 0.1));
    border: 2px solid var(--border-glow);
    padding: 50px 40px;
    margin: 80px auto;
    max-width: 600px;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(26, 0, 51, 0.9);
    border: 2px solid var(--border-glow);
    color: var(--text-white);
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.back-btn:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
    border-color: var(--accent-cyan);
}

.btn-glow {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--accent-cyan), #00e6a0);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(6, 255, 165, 0.3);
    border: 2px solid var(--accent-cyan);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(6, 255, 165, 0.5);
    background: linear-gradient(45deg, #00e6a0, var(--accent-cyan));
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCROLL ANIMATIONS */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* TABLET */
@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    :root {
        --section-padding: 80px;
    }
    
    /* NAVIGATION */
    .navbar {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px 30px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* HERO */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-avatar {
        width: 280px;
        height: 280px;
    }
    
    /* ABOUT */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* PORTFOLIO */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    /* CONTACT */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-intro h3 {
        font-size: 2rem;
    }

    /* PRICING */
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }
    
    .pricing-hero {
        padding: 120px 20px 80px;
    }
    
    .back-btn {
        top: 20px;
        left: 20px;
        padding: 12px 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-15px) scale(1);
    }

    .pricing-info {
        padding: 30px 20px;
        margin: 60px 20px;
    }

    .pricing-contact {
        margin: 60px 20px;
        padding: 40px 25px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-avatar {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    /* PRICING MOBILE */
    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-price {
        font-size: 2.8rem;
    }

    .pricing-title {
        font-size: 1.5rem;
    }

    .pricing-btn {
        padding: 15px;
        font-size: 12px;
    }
}

/* ============================================================================
   CUSTOM SCROLLBAR
   ============================================================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-purple), var(--accent-pink));
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* ============================================================================
   END OF STYLES
   ============================================================================ */