/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --bg-primary: #050505;
    --bg-secondary: rgba(10, 10, 10, 0.7);
    --border-color: rgba(255, 255, 255, 0.12); /* Brighter border visibility */
    --border-hover: rgba(255, 255, 255, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #e5e5ea; /* Apple-grade brighter secondary text */
    --text-muted: #98989d;      /* Higher readability muted text */
    
    --accent-blue: #3894ff;     /* Brighter electric blue for contrast */
    --accent-purple: #a855f7;   /* Brighter purple */
    --accent-glow-blue: rgba(56, 148, 255, 0.45);
    --accent-glow-purple: rgba(168, 85, 247, 0.45);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --card-radius: 16px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global SVG styling for inline elements */
svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: inline-block;
    vertical-align: middle;
}

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

/* --- PREMIUM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* --- BACKGROUND GRID, ORBS & PARTICLES --- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -10;
    pointer-events: none;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -8;
    pointer-events: none;
    opacity: 0.18;
}

.orb-blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: orbFloat 30s infinite alternate-reverse ease-in-out;
}

.orb-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, transparent 75%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes pulseGlow {
    0% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 0 10px var(--accent-glow-blue);
}

/* --- GLASSMORPHISM CARD BASE --- */
.glass-card {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Card dynamic hover light sheen */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 80%);
    z-index: 1;
    pointer-events: none;
}

/* --- BUTTONS & INTERACTIONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-full {
    width: 100%;
}

.icon-inline {
    margin-left: 8px;
    width: 16px;
    height: 16px;
}

/* Magnetic Button helper wrapping */
.btn-magnetic span {
    display: block;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 12px 30px;
    transition: var(--transition-smooth);
}

.header.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(5, 5, 5, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-blue);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.btn-nav {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #ffffff;
}

.btn-nav:hover {
    background: #ffffff;
    color: #000000;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
}

/* Mobile Menu dropdown */
.mobile-menu {
    position: fixed;
    top: 90px;
    left: 5%;
    width: 90%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 180px;
    padding-bottom: 80px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-container {
    margin-bottom: 24px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent-blue);
    animation: blink 2s infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(90deg, #0052ff 0%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Scroll wheel indicator */
.hero-scroll-indicator {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

/* --- SECTION TYPOGRAPHY --- */
.section-header {
    margin-bottom: 70px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

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

.service-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 0 20px var(--accent-glow-blue);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-description {
    font-size: 14.5px;
    color: var(--text-secondary);
    font-weight: 400; /* Increased font-weight for visibility */
}

/* --- PORTFOLIO SECTION --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    border-radius: var(--card-radius);
    padding: 20px;
}

.portfolio-image-wrapper {
    width: 100%;
    height: 300px;
    background: #0d0d0d;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Interactive Device Mockups via CSS */
.portfolio-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #090909;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-mockup {
    transform: scale(1.05);
}

.mockup-header {
    height: 30px;
    background: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-address {
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 20px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

.mockup-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.tag-accent {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-blue);
    background: rgba(0, 82, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.mockup-body h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-top: 10px;
}

.mockup-body p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: auto;
    margin-top: 6px;
}

.mockup-graphic {
    height: 80px;
    width: 100%;
    margin-top: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px;
}

.bar {
    width: 25%;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.bar-1 { height: 40%; }
.bar-2 { height: 75%; }
.bar-3 { height: 55%; }

.portfolio-item:hover .bar-1 { height: 85%; }
.portfolio-item:hover .bar-2 { height: 50%; }
.portfolio-item:hover .bar-3 { height: 95%; }

.mockup-graphic-grid {
    height: 80px;
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.grid-item.highlight {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    box-shadow: 0 0 15px var(--accent-glow-purple);
}

.portfolio-item:hover .grid-item:not(.highlight) {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.15);
}

.portfolio-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.portfolio-category {
    font-size: 13px;
    color: var(--text-secondary);
}

.portfolio-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-link {
    background: #ffffff;
    color: #000000;
    transform: rotate(45deg);
}

/* --- BEFORE & AFTER REDESIGN SLIDER --- */
.comparison-wrapper {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.comparison-info {
    max-width: 600px;
}

.comparison-info .tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-purple);
    margin-bottom: 8px;
    display: block;
}

.comparison-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 12px;
}

.comparison-info p {
    color: var(--text-secondary);
    font-size: 15px;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.image-before {
    background-color: #1a1a1a;
    z-index: 1;
}

.image-after {
    background-color: #0d0d0d;
    z-index: 2;
    width: 50%; /* JS will change this dynamically */
}

/* Label styling */
.comparison-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 10;
}

.label-before {
    left: 20px;
    background: rgba(255, 95, 86, 0.2);
    border: 1px solid rgba(255, 95, 86, 0.4);
    color: #ff5f56;
}

.label-after {
    right: 20px;
    background: rgba(39, 201, 63, 0.2);
    border: 1px solid rgba(39, 201, 63, 0.4);
    color: #27c93f;
    white-space: nowrap;
}

/* Custom Mockup Layouts inside slider */
.before-mock-content, .after-mock-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    font-family: 'Times New Roman', serif;
}

.before-mock-content {
    background: #f0f0f0;
    color: #333333;
}

.old-nav {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    font-size: 14px;
}

.old-hero {
    margin-top: 40px;
    max-width: 400px;
}

.old-hero h1 {
    font-size: 32px;
    color: #0000ff;
    margin-bottom: 10px;
}

.old-hero p {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
}

.old-btn {
    padding: 8px 16px;
    background: #0000ff;
    color: white;
    border: none;
    cursor: none;
}

/* Premium After Mockup styling */
.after-mock-content {
    background: #050505;
    color: #ffffff;
    font-family: var(--font-body);
    position: relative;
}

.new-glow-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--accent-purple);
    filter: blur(50px);
    opacity: 0.3;
    top: 50px;
    right: 50px;
}

.new-nav {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.new-nav-links {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

.new-hero {
    margin-top: 40px;
    max-width: 400px;
}

.gradient-headline {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(to right, #0052ff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.glow-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.glass-mock-card {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    width: 180px;
    font-size: 11px;
}

.dot-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}
.dot-row span { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.d-1 { background: #ff5f56; }
.d-2 { background: #ffbd2e; }
.d-3 { background: #27c93f; }

/* Drag Slider controls */
.slider-handle-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    z-index: 5;
    cursor: ew-resize;
}

.slider-divider {
    position: absolute;
    top: 0;
    left: 50%; /* Initial 50% */
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-branding {
    position: relative;
    padding: 40px;
}

.about-logo {
    font-family: var(--font-heading);
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(255, 255, 255, 0.03);
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-motto {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    margin-top: -30px;
    color: #ffffff;
}

.glow-sphere {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    opacity: 0.25;
    filter: blur(40px);
    top: -20px;
    left: 40px;
    animation: drift 15s infinite alternate ease-in-out;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.about-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.about-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

.about-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-bullets li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 15px;
}

.about-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

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

.testimonial-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star-filled {
    color: #ffb800;
    fill: #ffb800;
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 400; /* Increased weight for legibility */
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.user-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

.user-title {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* --- PRICING SECTION --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 500;
    vertical-align: super;
    margin-right: 4px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400; /* Increased weight for visibility */
}

.plan-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--accent-blue);
    width: 16px;
    height: 16px;
}

/* Popular Badge & Highlight styling */
.pricing-popular {
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px rgba(0, 82, 255, 0.1);
}

.pricing-popular:hover {
    border-color: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.2);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    background: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 10px;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 12px;
    display: block;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-direct-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.wa-btn:hover {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
}

.email-btn:hover {
    color: var(--accent-blue);
    border-color: rgba(0, 82, 255, 0.3);
    box-shadow: 0 0 15px var(--accent-glow-blue);
}

.insta-btn:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.1);
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
    position: relative;
}

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

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

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 82, 255, 0.2);
}

.form-group select option {
    background-color: #121212;
    color: #ffffff;
}

/* Success Form Feedback overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: #27c93f;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
}

.success-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    padding-top: 80px;
    position: relative;
    z-index: 5;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-column a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

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

.footer-socials a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: #ffffff;
}

/* --- ANIMATION / SCROLL REVEAL UTILITIES --- */
.scroll-reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-branding {
        padding: 0;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Hide standard nav on mobile */
    }
    
    .mobile-nav-toggle {
        display: block; /* Show mobile toggle */
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .header {
        top: 15px;
        padding: 10px 20px;
    }
    
    .nav-cta {
        display: none;
    }
    
    .pricing-popular {
        order: -1; /* Show popular first on mobile stack */
    }
}

/* ============================================================
   MOBILE PERFORMANCE OPTIMIZATION
   Disables GPU-heavy effects on low-powered mobile devices.
   backdrop-filter, large blurs, and canvas particles are the
   biggest mobile performance killers.
   ============================================================ */
@media (max-width: 768px) {

    /* --- KILL BACKDROP-FILTER EVERYWHERE ON MOBILE --- */
    .glass-card,
    .header,
    .mobile-menu,
    .btn-secondary,
    .glass-mock-card,
    .form-success-overlay {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Compensate with slightly more opaque backgrounds */
    .glass-card {
        background: rgba(15, 15, 15, 0.85) !important;
    }

    .header {
        background: rgba(10, 10, 10, 0.9) !important;
    }

    .header.scrolled {
        background: rgba(5, 5, 5, 0.95) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    }

    .mobile-menu {
        background: rgba(10, 10, 10, 0.97) !important;
    }

    .form-success-overlay {
        background: rgba(5, 5, 5, 0.98) !important;
    }

    /* --- REDUCE BG ORB BLUR (140px → 60px) --- */
    .bg-orb {
        filter: blur(60px) !important;
        opacity: 0.12 !important;
    }

    /* --- DISABLE ORB FLOAT ANIMATIONS ON MOBILE --- */
    .orb-blue,
    .orb-purple,
    .orb-glow {
        animation: none !important;
    }

    /* --- REDUCE OTHER DECORATIVE BLURS --- */
    .new-glow-orb {
        filter: blur(25px) !important;
        opacity: 0.15 !important;
    }

    .glow-sphere {
        filter: blur(20px) !important;
        opacity: 0.15 !important;
        animation: none !important;
    }

    /* --- HIDE CANVAS PARTICLES ON MOBILE --- */
    #particles-canvas {
        display: none !important;
    }

    /* --- SIMPLIFY SCROLL REVEAL (no blur, just fade+slide) --- */
    .scroll-reveal-blur {
        filter: none !important;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out,
                    transform 0.6s ease-out !important;
    }

    .scroll-reveal-blur.revealed {
        filter: none !important;
        transform: translateY(0);
    }

    /* --- REDUCE HEAVY BOX-SHADOWS ON MOBILE --- */
    .glass-card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
    }

    .pricing-popular {
        box-shadow: 0 8px 20px rgba(0, 82, 255, 0.08) !important;
    }

    .pricing-popular:hover {
        box-shadow: 0 8px 20px rgba(0, 82, 255, 0.12) !important;
    }

    /* --- DISABLE 3D TILT ON MOBILE (touch has no mousemove) --- */
    [data-tilt] {
        transform: none !important;
    }

    /* --- DISABLE CARD GLOW OVERLAY ON MOBILE --- */
    .card-glow {
        display: none !important;
    }

    /* --- USE GPU-ACCELERATED PROPERTIES --- */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* --- REDUCE SECTION PADDING FOR MOBILE --- */
    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    /* --- CONTACT FORM MOBILE PADDING --- */
    .contact-form-container {
        padding: 24px !important;
    }

    .contact-direct-buttons {
        max-width: 100% !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .bg-orb {
        display: none !important;
    }

    .bg-grid {
        display: none !important;
    }
}
