/* ============================================
   ANUP KUMAR H - PORTFOLIO WEBSITE
   Modern Tech Style | Fast | SEO-Optimized
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6722B5;
    --primary-dark: #4a1685;
    --primary-light: #8a4fd4;
    --secondary: #9b6dd4;
    --accent: #f0c040;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --white: #ffffff;
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #6722B5 0%, #9b6dd4 100%);
    --gradient-2: linear-gradient(135deg, #8a4fd4 0%, #6722B5 100%);
    --gradient-3: linear-gradient(135deg, #9b6dd4 0%, #6722B5 100%);
    
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --hero-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --footer-bg: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Retreat Theme Overrides - Warm Earthy Wellness */
body.retreat {
    --primary: #B8754A;
    --primary-dark: #9A5F3A;
    --primary-light: #C98B6A;
    --secondary: #7D9B76;
    --accent: #D4A853;
    --dark: #3D2B1F;
    --dark-light: #5C4A3A;
    --dark-lighter: #8B7355;
    --light: #FAF7F2;
    --gray: #8B7E6A;
    --gray-light: #B5A898;
    --white: #FFFDF9;
    --success: #7D9B76;
    --gradient-1: linear-gradient(135deg, #B8754A 0%, #D4A853 100%);
    --gradient-2: linear-gradient(135deg, #C98B6A 0%, #B8754A 100%);
    --gradient-3: linear-gradient(135deg, #D4A853 0%, #B8754A 100%);
    
    --bg-primary: #FAF7F2;
    --bg-secondary: #F5F0E8;
    --bg-card: #FFFDF9;
    --text-primary: #3D2B1F;
    --text-secondary: #5C4A3A;
    --text-muted: #8B7E6A;
    --border-color: #E8E0D5;
    --nav-bg: rgba(250, 247, 242, 0.92);
    --hero-bg: linear-gradient(160deg, #FAF7F2 0%, #F0E8DC 50%, #E8DFD1 100%);
    --footer-bg: #3D2B1F;
    --shadow-sm: 0 1px 3px 0 rgba(61, 43, 31, 0.06), 0 1px 2px -1px rgba(61, 43, 31, 0.06);
    --shadow: 0 4px 6px -1px rgba(61, 43, 31, 0.08), 0 2px 4px -2px rgba(61, 43, 31, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(61, 43, 31, 0.1), 0 4px 6px -4px rgba(61, 43, 31, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(61, 43, 31, 0.12), 0 8px 10px -6px rgba(61, 43, 31, 0.08);
}

/* Dark theme for retreat */
body.retreat {
    background: var(--bg-primary);
}

body.retreat .navbar {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

body.retreat .nav-logo {
    color: var(--text-primary);
}

body.retreat .nav-link {
    color: var(--text-secondary);
}

body.retreat .hero {
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}

body.retreat .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

body.retreat .hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(184, 117, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

body.retreat .hero-bg .grid-overlay {
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(61, 43, 31, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 43, 31, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

body.retreat .hero-badge {
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.2);
    color: var(--primary);
}

body.retreat .badge-dot {
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(184, 117, 74, 0.7);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(184, 117, 74, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(184, 117, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 117, 74, 0); }
}

body.retreat .hero-title {
    color: var(--text-primary);
}

body.retreat .hero-subtitle {
    color: var(--text-secondary);
}

body.retreat .highlight {
    color: var(--primary);
    position: relative;
}

body.retreat .stat-number {
    color: var(--primary);
}

body.retreat .stat-label {
    color: var(--text-secondary);
}

body.retreat .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

body.retreat .btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(184, 117, 74, 0.3);
}

body.retreat .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 117, 74, 0.4);
}

body.retreat .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

body.retreat .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

body.retreat .section-tag {
    color: var(--primary);
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
}

body.retreat .section-title {
    color: var(--text-primary);
}

body.retreat .section-subtitle {
    color: var(--text-secondary);
}

body.retreat .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.retreat .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(184, 117, 74, 0.3);
}

body.retreat .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.retreat .service-card:hover::before {
    opacity: 1;
}

body.retreat .service-card.featured {
    border-color: rgba(184, 117, 74, 0.3);
    box-shadow: var(--shadow-lg);
}

body.retreat .service-badge {
    background: var(--gradient-1);
    color: var(--white);
}

body.retreat .service-icon {
    color: var(--primary);
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
}

body.retreat .service-card h3 {
    color: var(--text-primary);
}

body.retreat .service-card p {
    color: var(--text-secondary);
}

body.retreat .service-list li {
    color: var(--text-secondary);
}

body.retreat .service-list li::before {
    color: var(--primary);
}

body.retreat .portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.retreat .portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(184, 117, 74, 0.3);
}

body.retreat .portfolio-tag {
    background: rgba(184, 117, 74, 0.1);
    color: var(--primary);
    border: 1px solid rgba(184, 117, 74, 0.2);
}

body.retreat .portfolio-card h3 {
    color: var(--text-primary);
}

body.retreat .portfolio-card p {
    color: var(--text-secondary);
}

body.retreat .portfolio-tech span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

body.retreat .skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

body.retreat .skill-category-header h3 {
    color: var(--text-primary);
}

body.retreat .skill-category-desc {
    color: var(--text-secondary);
}

body.retreat .skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.retreat .skill-name {
    color: var(--text-primary);
}

body.retreat .skill-percent {
    color: var(--primary);
}

body.retreat .skill-bar {
    background: var(--bg-primary);
}

body.retreat .skill-progress {
    background: var(--gradient-1);
}

body.retreat .tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body.retreat .tech-item span {
    color: var(--text-secondary);
}

body.retreat .tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

body.retreat .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

body.retreat .testimonial-card:hover {
    border-color: rgba(184, 117, 74, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

body.retreat .testimonial-stars {
    color: var(--accent);
}

body.retreat .testimonial-text {
    color: var(--text-secondary);
}

body.retreat .author-avatar {
    background: var(--gradient-1);
    color: var(--white);
}

body.retreat .author-info h4 {
    color: var(--text-primary);
}

body.retreat .author-info span {
    color: var(--text-muted);
}

body.retreat .contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.retreat .contact-card:hover {
    border-color: rgba(184, 117, 74, 0.4);
    transform: translateX(8px);
}

body.retreat .contact-icon {
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
    color: var(--primary);
}

body.retreat .contact-details h4 {
    color: var(--text-muted);
}

body.retreat .contact-details a,
body.retreat .contact-details span {
    color: var(--text-primary);
}

body.retreat .contact-details a:hover {
    color: var(--primary);
}

body.retreat .availability-indicator {
    background: rgba(125, 155, 118, 0.1);
    border: 1px solid rgba(125, 155, 118, 0.3);
}

body.retreat .availability-text {
    color: var(--success);
}

body.retreat .availability-dot {
    background: var(--success);
}

body.retreat .contact-form-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.retreat .form-group label {
    color: var(--text-secondary);
}

body.retreat .form-group input,
body.retreat .form-group select,
body.retreat .form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

body.retreat .form-group input:focus,
body.retreat .form-group select:focus,
body.retreat .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 117, 74, 0.1);
}

body.retreat .form-group input::placeholder,
body.retreat .form-group textarea::placeholder {
    color: var(--text-muted);
}

body.retreat .footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--dark-lighter);
}

body.retreat .footer-logo {
    color: var(--white);
}

body.retreat .footer-brand p {
    color: var(--gray);
}

body.retreat .footer-social a {
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    color: var(--gray);
}

body.retreat .footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

body.retreat .footer-links h4 {
    color: var(--white);
}

body.retreat .footer-links a {
    color: var(--gray);
}

body.retreat .footer-links a:hover {
    color: var(--primary-light);
}

body.retreat .footer-newsletter h4 {
    color: var(--white);
}

body.retreat .footer-newsletter p {
    color: var(--gray);
}

body.retreat .newsletter-form input {
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    color: var(--white);
}

body.retreat .newsletter-form input:focus {
    border-color: var(--primary);
}

body.retreat .newsletter-form button {
    background: var(--gradient-1);
    color: var(--white);
}

body.retreat .newsletter-form button:hover {
    box-shadow: 0 4px 15px rgba(184, 117, 74, 0.3);
}

body.retreat .footer-bottom p {
    color: var(--gray);
}

body.retreat .back-to-top {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 117, 74, 0.4);
}

body.retreat .back-to-top:hover {
    box-shadow: 0 8px 25px rgba(184, 117, 74, 0.5);
}

/* Light Theme Adjustments for Retreat */
body:not([data-theme="dark"]) body.retreat {
    --bg-primary: #FAF7F2;
    --bg-secondary: #F5F0E8;
    --bg-card: #FFFDF9;
    --text-primary: #3D2B1F;
    --text-secondary: #5C4A3A;
    --text-muted: #8B7E6A;
    --border-color: #E8E0D5;
    --nav-bg: rgba(250, 247, 242, 0.92);
    --hero-bg: linear-gradient(160deg, #FAF7F2 0%, #F0E8DC 50%, #E8DFD1 100%);
    --footer-bg: #3D2B1F;
}

body:not([data-theme="dark"]) body.retreat .navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) body.retreat .nav-link {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .hero {
    background: var(--hero-bg);
}

body:not([data-theme="dark"]) body.retreat .hero-title {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .hero-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .section-title {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .section-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .service-card,
body:not([data-theme="dark"]) body.retreat .portfolio-card,
body:not([data-theme="dark"]) body.retreat .skill-category-card,
body:not([data-theme="dark"]) body.retreat .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

body:not([data-theme="dark"]) body.retreat .service-card:hover,
body:not([data-theme="dark"]) body.retreat .portfolio-card:hover,
body:not([data-theme="dark"]) body.retreat .skill-category-card:hover,
body:not([data-theme="dark"]) body.retreat .testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

body:not([data-theme="dark"]) body.retreat .contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) body.retreat .form-group input,
body:not([data-theme="dark"]) body.retreat .form-group textarea,
body:not([data-theme="dark"]) body.retreat .form-group select {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .form-group input:focus,
body:not([data-theme="dark"]) body.retreat .form-group textarea:focus,
body:not([data-theme="dark"]) body.retreat .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 117, 74, 0.1);
}

body:not([data-theme="dark"]) body.retreat .footer {
    background: var(--footer-bg);
    color: var(--gray);
}

body:not([data-theme="dark"]) body.retreat .footer-title {
    color: var(--white);
}

body:not([data-theme="dark"]) body.retreat .footer-link {
    color: var(--gray);
}

body:not([data-theme="dark"]) body.retreat .footer-link:hover {
    color: var(--primary-light);
}

body:not([data-theme="dark"]) body.retreat .tech-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .tech-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) body.retreat .testimonial-text {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .testimonial-author {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .stat-number {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .stat-label {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .highlight {
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .section-header .section-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .about-text {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .about-text strong {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .info-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) body.retreat .info-label {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) body.retreat .info-value {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .process-number {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .process-step:hover .process-number {
    border-color: var(--primary);
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .hero-badge {
    background: rgba(184, 117, 74, 0.08);
    border-color: rgba(184, 117, 74, 0.2);
}

body:not([data-theme="dark"]) body.retreat .maintenance-hero-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) body.retreat .feature-card:hover {
    box-shadow: var(--shadow-xl);
}

body:not([data-theme="dark"]) body.retreat .feature-icon-large {
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .feature-card h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .feature-card > p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .feature-list li {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) body.retreat .content-updates-banner {
    background: linear-gradient(135deg, rgba(184, 117, 74, 0.03) 0%, rgba(212, 168, 83, 0.02) 100%);
    border-color: var(--border-color);
}

body:not([data-theme="dark"]) body.retreat .banner-content h2 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .banner-content p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .banner-content strong {
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .pricing-section {
    background: var(--bg-secondary);
}

body:not([data-theme="dark"]) body.retreat .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) body.retreat .pricing-card.featured {
    background: linear-gradient(135deg, rgba(184, 117, 74, 0.03) 0%, rgba(212, 168, 83, 0.02) 100%);
}

body:not([data-theme="dark"]) body.retreat .pricing-card:hover {
    box-shadow: var(--shadow-xl);
}

body:not([data-theme="dark"]) body.retreat .pricing-header h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .pricing-price .currency {
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .pricing-price .period {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .pricing-desc {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .pricing-features li {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .pricing-features li.not-included {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) body.retreat .process-section {
    background: var(--bg-secondary);
}

body:not([data-theme="dark"]) body.retreat .process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) body.retreat .step-icon {
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
    color: var(--primary);
}

body:not([data-theme="dark"]) body.retreat .process-step h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .process-step p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) body.retreat .maintenance-cta {
    background: var(--bg-primary);
}

body:not([data-theme="dark"]) body.retreat .maintenance-cta h2 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) body.retreat .maintenance-cta p {
    color: var(--text-secondary);
}

/* Print styles for retreat */
@media print {
    body.retreat {
        background: white;
        color: black;
    }
    
    body.retreat .navbar,
    body.retreat .hero-bg,
    body.retreat .scroll-indicator,
    body.retreat .back-to-top,
    body.retreat .loader,
    body.retreat .theme-toggle {
        display: none !important;
    }
    
    body.retreat .hero {
        min-height: auto;
        padding: 40px 0;
    }
}

/* Retreat-specific design enhancements */
body.retreat .about-image .image-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

body.retreat .experience-badge {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

body.retreat .feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

body.retreat .feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 117, 74, 0.3);
}

body.retreat .feature-icon {
    background: rgba(184, 117, 74, 0.08);
    border: 1px solid rgba(184, 117, 74, 0.15);
    color: var(--primary);
}

body.retreat .feature h4 {
    color: var(--text-primary);
}

body.retreat .feature p {
    color: var(--text-secondary);
}

body.retreat .portfolio-image .portfolio-overlay {
    background: linear-gradient(to top, rgba(61, 43, 31, 0.8) 0%, transparent 100%);
}

body.retreat .portfolio-link {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

body.retreat .portfolio-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Organic shapes for hero */
body.retreat .shape {
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

body.retreat .shape-1 {
    background: radial-gradient(circle, rgba(184, 117, 74, 0.2) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

body.retreat .shape-2 {
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

body.retreat .shape-3 {
    background: radial-gradient(circle, rgba(125, 155, 118, 0.12) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Smooth scroll indicator */
body.retreat .scroll-indicator .mouse {
    border-color: var(--primary);
}

body.retreat .scroll-indicator .wheel {
    background: var(--primary);
}

body.retreat .scroll-indicator span {
    color: var(--text-muted);
}

/* Retreat Hero Enhancements */
body.retreat .hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

body.retreat .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 640px;
}

body.retreat .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
}

body.retreat .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

body.retreat .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

body.retreat .trust-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

body.retreat .shape-4 {
    background: radial-gradient(circle, rgba(125, 155, 118, 0.1) 0%, transparent 70%);
    animation: float 14s ease-in-out infinite reverse;
}

body.retreat .badge-text {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Retreat About Section Enhancements */
body.retreat .about {
    background: var(--bg-primary);
}

body.retreat .about-grid {
    gap: 64px;
}

body.retreat .about-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

body.retreat .about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

body.retreat .about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

body.retreat .feature {
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

body.retreat .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.retreat .feature h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

body.retreat .feature p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Retreat Services Enhancements */
body.retreat .services {
    background: var(--bg-secondary);
}

body.retreat .service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

body.retreat .service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

body.retreat .service-card p {
    line-height: 1.7;
    margin-bottom: 20px;
}

body.retreat .service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

body.retreat .service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Retreat Portfolio Enhancements */
body.retreat .portfolio {
    background: var(--bg-primary);
}

body.retreat .portfolio-placeholder {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

body.retreat .portfolio-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

body.retreat .portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

body.retreat .portfolio-content {
    padding: 28px;
}

body.retreat .portfolio-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 8px 0 12px;
}

body.retreat .portfolio-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

body.retreat .portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.retreat .portfolio-tech span {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Retreat Testimonials Enhancements */
body.retreat .testimonials {
    background: var(--bg-secondary);
}

body.retreat .testimonial-card {
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
}

body.retreat .testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 5rem;
    font-family: var(--font-display);
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
}

body.retreat .testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Retreat Contact Enhancements */
body.retreat .contact {
    background: var(--bg-primary);
}

body.retreat .contact-form-wrapper {
    border-radius: var(--radius-lg);
    padding: 44px;
}

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

/* Retreat Footer Enhancements */
body.retreat .footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

/* Retreat CTA Banner */
body.retreat .cta-banner {
    background: var(--gradient-1);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.retreat .cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

body.retreat .cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

body.retreat .cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

body.retreat .cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

body.retreat .cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.7;
}

body.retreat .cta-banner .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body.retreat .cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    body.retreat .cta-title {
        font-size: 1.75rem;
    }
    
    body.retreat .cta-text {
        font-size: 1rem;
    }
    
    body.retreat .about-features {
        grid-template-columns: 1fr;
    }
    
    body.retreat .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    body.retreat .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    body.retreat .contact-form-wrapper {
        padding: 24px;
    }
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --nav-bg: rgba(15, 23, 42, 0.9);
    --hero-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --footer-bg: #0a0f1d;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(103, 34, 181, 0.1);
}

/* Dropdown menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(103, 34, 181, 0.1);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

/* Hero Photo */
.hero-photo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px rgba(103, 34, 181, 0.2);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(103, 34, 181, 0.2);
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

.hero-photo-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px dashed rgba(154, 109, 212, 0.2);
    border-radius: 50%;
    animation: rotateRing 15s linear infinite reverse;
}

.hero-photo-dots {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: rotateRing 20s linear infinite;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--success);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

[data-theme="dark"] .hero-badge {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease-out backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(103, 34, 181, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 34, 181, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(103, 34, 181, 0.05);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-white {
    background: #ffffff;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.book-meeting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.book-meeting-actions .btn {
    flex: 1;
    min-width: 220px;
    justify-content: center;
}

.book-meeting-note {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: fadeInUp 0.6s ease-out 1s backwards;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

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

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.inline-cta {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.inline-cta:hover {
    border-bottom-color: var(--primary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.frame-decoration {
    position: absolute;
    inset: -12px;
    border: 2px solid var(--primary);
    border-radius: calc(var(--radius-lg) + 12px);
    opacity: 0.3;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.exp-years {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--text-primary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary);
}

.feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(103, 34, 181, 0.05) 0%, rgba(154, 109, 212, 0.03) 100%);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-1);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-1);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
}

.portfolio-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-link {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transform: scale(0.8);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.skill-category-card:hover::before {
    transform: scaleX(1);
}

.skill-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.skill-category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.skill-category-icon {
    width: 48px;
    height: 48px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.skill-category-card:hover .skill-category-icon {
    background: var(--gradient-1);
    color: var(--white);
}

.skill-category-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.skill-category-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.skill-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.skill-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.skill-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.skill-card:hover .skill-card-icon {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
}

.skill-card-content {
    flex: 1;
    min-width: 0;
}

.skill-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.skill-percent {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

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

.tech-stack {
    text-align: center;
}

.tech-stack h3 {
    font-size: 1.25rem;
    margin-bottom: 28px;
    color: var(--primary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 10px 20px;
    transition: var(--transition);
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tech-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tech-item:hover .tech-item-icon {
    transform: scale(1.15);
}

.tech-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

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

.testimonial-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details a,
.contact-details span {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-availability {
    margin-top: 8px;
}

.availability-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.availability-text {
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 34, 181, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--dark-lighter);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-brand p {
    color: var(--gray);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-newsletter p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(103, 34, 181, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--dark-lighter);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-credit {
    font-family: var(--font-mono);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--dark-lighter);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .has-dropdown > .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 8px 12px;
        min-width: auto;
    }
    
    .dropdown-menu a {
        text-align: center;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .skill-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-list {
        gap: 10px;
    }
    
    .tech-item {
        padding: 8px 14px;
    }
    
    .tech-item span {
        font-size: 0.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--light);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--dark-lighter);
    border-radius: 4px;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    margin-left: 16px;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Light Theme Adjustments */
body:not([data-theme="dark"]) {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --hero-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --footer-bg: #0f172a;
}

body:not([data-theme="dark"]) .navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .nav-link {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .nav-link:hover,
body:not([data-theme="dark"]) .nav-link.active {
    color: var(--primary);
}

body:not([data-theme="dark"]) .hero {
    background: var(--hero-bg);
}

body:not([data-theme="dark"]) .hero-title {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .hero-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .section-title {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .section-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .service-card,
body:not([data-theme="dark"]) .portfolio-card,
body:not([data-theme="dark"]) .skill-category-card,
body:not([data-theme="dark"]) .testimonial-card,
body:not([data-theme="dark"]) .pricing-card,
body:not([data-theme="dark"]) .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body:not([data-theme="dark"]) .service-card:hover,
body:not([data-theme="dark"]) .portfolio-card:hover,
body:not([data-theme="dark"]) .skill-category-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body:not([data-theme="dark"]) .feature-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .form-group input,
body:not([data-theme="dark"]) .form-group textarea,
body:not([data-theme="dark"]) .form-group select {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .form-group input:focus,
body:not([data-theme="dark"]) .form-group textarea:focus,
body:not([data-theme="dark"]) .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 34, 181, 0.1);
}

body:not([data-theme="dark"]) .footer {
    background: var(--footer-bg);
    color: var(--gray);
}

body:not([data-theme="dark"]) .footer-title {
    color: var(--white);
}

body:not([data-theme="dark"]) .footer-link {
    color: var(--gray);
}

body:not([data-theme="dark"]) .footer-link:hover {
    color: var(--primary-light);
}

body:not([data-theme="dark"]) .process-line {
    background: var(--border-color);
}

body:not([data-theme="dark"]) .process-step:not(:last-child)::after {
    background: var(--border-color);
}

body:not([data-theme="dark"]) .tech-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .tech-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

body:not([data-theme="dark"]) .skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .testimonial-text {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .testimonial-author {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .testimonial-role {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) .pricing-feature {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .pricing-price {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .stat-number {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .stat-label {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .highlight {
    color: var(--primary);
}

body:not([data-theme="dark"]) .section-header .section-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .about-text {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .about-text strong {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .info-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body:not([data-theme="dark"]) .info-label {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) .info-value {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .process-number {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .process-step:hover .process-number {
    border-color: var(--primary);
    color: var(--primary);
}

/* Maintenance page light theme */
body:not([data-theme="dark"]) .maintenance-hero {
    background: var(--hero-bg);
}

body:not([data-theme="dark"]) .maintenance-hero-title {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .hero-badge {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

body:not([data-theme="dark"]) .maintenance-hero-subtitle {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .maintenance-features {
    background: var(--bg-secondary);
}

body:not([data-theme="dark"]) .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) .feature-card:hover {
    box-shadow: var(--shadow-xl);
}

body:not([data-theme="dark"]) .feature-icon-large {
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    color: var(--primary);
}

body:not([data-theme="dark"]) .feature-card h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .feature-card > p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .feature-list li {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) .content-updates-banner {
    background: linear-gradient(135deg, rgba(103, 34, 181, 0.03) 0%, rgba(6, 182, 212, 0.02) 100%);
    border-color: var(--border-color);
}

body:not([data-theme="dark"]) .banner-content h2 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .banner-content p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .banner-content strong {
    color: var(--primary);
}

body:not([data-theme="dark"]) .pricing-section {
    background: var(--bg-secondary);
}

body:not([data-theme="dark"]) .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) .pricing-card.featured {
    background: linear-gradient(135deg, rgba(103, 34, 181, 0.03) 0%, rgba(6, 182, 212, 0.02) 100%);
}

body:not([data-theme="dark"]) .pricing-card:hover {
    box-shadow: var(--shadow-xl);
}

body:not([data-theme="dark"]) .pricing-header h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .pricing-price .currency {
    color: var(--primary);
}

body:not([data-theme="dark"]) .pricing-price .period {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .pricing-desc {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .pricing-features li {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .pricing-features li.not-included {
    color: var(--text-muted);
}

body:not([data-theme="dark"]) .process-section {
    background: var(--bg-secondary);
}

body:not([data-theme="dark"]) .process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body:not([data-theme="dark"]) .step-icon {
    background: rgba(103, 34, 181, 0.08);
    border: 1px solid rgba(103, 34, 181, 0.15);
    color: var(--primary);
}

body:not([data-theme="dark"]) .process-step h3 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .process-step p {
    color: var(--text-secondary);
}

body:not([data-theme="dark"]) .maintenance-cta {
    background: var(--bg-primary);
}

body:not([data-theme="dark"]) .maintenance-cta h2 {
    color: var(--text-primary);
}

body:not([data-theme="dark"]) .maintenance-cta p {
    color: var(--text-secondary);
}

/* Print styles */
@media print {
    .navbar,
    .hero-bg,
    .scroll-indicator,
    .back-to-top,
    .loader,
    .theme-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}
