/* ========================================
   MR R DEV - SUPER PREMIUM STYLESHEET
   ======================================== */

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A2E;
    --bg-tertiary: #16213E;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --cyan: #00D4FF;
    --purple: #8B5CF6;
    --pink: #EC4899;
    --gradient-1: linear-gradient(135deg, #00D4FF, #8B5CF6, #EC4899);
    --gradient-2: linear-gradient(45deg, #00D4FF, #8B5CF6);
    --gradient-3: linear-gradient(90deg, #8B5CF6, #EC4899);
    --neon-cyan: 0 0 20px rgba(0, 212, 255, 0.5);
    --neon-purple: 0 0 20px rgba(139, 92, 246, 0.5);
    --neon-pink: 0 0 20px rgba(236, 72, 153, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* Selection */
::selection {
    background: var(--cyan);
    color: var(--bg-primary);
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--bg-glass);
    border-top: 3px solid var(--cyan);
    border-right: 3px solid var(--purple);
    border-bottom: 3px solid var(--pink);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-text {
    position: absolute;
    margin-top: 100px;
    font-size: 14px;
    letter-spacing: 4px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.cursor-outline.hover {
    transform: scale(1.5);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--pink);
}

/* ========================================
   DARK MODE TOGGLE
   ======================================== */
.dark-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    transition: var(--transition-base);
}

.dark-toggle:hover {
    transform: scale(1.1);
    background: var(--gradient-1);
    box-shadow: var(--neon-cyan);
}

/* Dark Mode Body */
body.dark-mode {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F3F4F6;
    --bg-tertiary: #E5E7EB;
    --bg-glass: rgba(0, 0, 0, 0.05);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    position: absolute;
    font-size: 20px;
    color: var(--text-primary);
    z-index: 1;
}

.progress-ring {
    position: absolute;
    transform: rotate(-90deg);
}

.progress-circle {
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.1s linear;
}

/* ========================================
   VISITOR COUNTER
   ======================================== */
.visitor-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-full);
    z-index: 999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.visitor-counter i {
    color: var(--cyan);
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.5s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-consent.show {
    bottom: 20px;
}

.cookie-consent i {
    font-size: 30px;
    color: var(--cyan);
}

.cookie-consent p {
    flex: 1;
    font-size: 14px;
}

.btn-cookie {
    padding: 8px 20px;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--border-radius-full);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-cookie:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-cyan);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-base);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.98);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo span {
    color: var(--cyan);
    background: none;
    -webkit-background-clip: unset;
}

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

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-base);
}

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

.nav-menu a:hover {
    color: var(--cyan);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-full);
    font-size: 14px;
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--cyan);
    margin-right: 8px;
}

.hero-title {
    font-size: 80px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-wrapper {
    font-size: 28px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.typing-prefix {
    color: var(--text-secondary);
}

.typing-text {
    color: var(--cyan);
    border-right: 3px solid var(--cyan);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: var(--cyan); }
    50% { border-color: transparent; }
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 30px 0;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: var(--gradient-2);
    color: white;
}

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

.btn.gradient {
    background: var(--gradient-1);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-cyan);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    transition: var(--transition-base);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--gradient-1);
    box-shadow: var(--neon-cyan);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.mouse .wheel {
    width: 4px;
    height: 10px;
    background: var(--text-primary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.arrow i {
    animation: bounce 2s infinite;
    color: var(--cyan);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    top: -3px;
}

.divider::before {
    left: -15px;
}

.divider::after {
    right: -15px;
}

/* ========================================
   GLASS CARD
   ======================================== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--neon-purple);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quote-icon {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 20px;
    opacity: 0.5;
}

.about-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.about-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.about-stats > div {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stats span:last-child {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.timeline-card {
    margin-bottom: 0;
}

.timeline-card h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--cyan);
}

.timeline-item .year {
    font-size: 14px;
    color: var(--cyan);
    margin-bottom: 5px;
}

.timeline-item .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-item .desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.skill-card h3 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-2px);
}

.portfolio-search {
    max-width: 400px;
    margin: 0 auto 40px;
    position: relative;
}

.portfolio-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
}

.portfolio-search input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-full);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition-base);
}

.portfolio-search input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: var(--neon-cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-glass);
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transition: bottom 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonial-slider {
    padding: 20px 0;
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin: 20px;
}

.testimonial-card i {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
}

.testimonial-author small {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Swiper Custom */
.swiper-pagination-bullet {
    background: var(--text-secondary);
}

.swiper-pagination-bullet-active {
    background: var(--cyan);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--cyan);
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--neon-purple);
}

.blog-card .blog-date {
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.read-more:hover {
    gap: 12px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--cyan);
    transition: var(--transition-base);
}

.contact-item:hover i {
    background: var(--gradient-1);
    transform: scale(1.1);
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition-base);
}

.form-group textarea {
    padding-top: 15px;
    resize: vertical;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: var(--neon-cyan);
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    cursor: pointer;
}

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

.faq-question h3 {
    font-size: 18px;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #000000;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.footer-socials a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-col form {
    display: flex;
    gap: 10px;
}

.footer-col input {
    flex: 1;
    padding: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
}

.footer-col button {
    width: 45px;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--border-radius-md);
    color: white;
    cursor: pointer;
    transition: var(--transition-base);
}

.footer-col button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.footer-bottom i {
    color: var(--pink);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .typing-wrapper {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .portfolio-grid,
    .blog-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .visitor-counter {
        top: auto;
        bottom: 80px;
        right: 20px;
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-right {
    animation: fadeInRight 0.6s ease forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease forwards;
}

/* Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }