@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary: #FF6584;
    --accent: #00D4AA;
    --accent-light: #00E5BE;
    --dark: #0A0A1A;
    --dark-secondary: #12122A;
    --dark-tertiary: #1A1A3E;
    --light: #FFFFFF;
    --light-secondary: #F8F9FE;
    --gray-100: #F0F0F7;
    --gray-200: #E0E0EB;
    --gray-300: #C0C0D5;
    --gray-400: #9090B0;
    --gray-500: #60608A;
    --gray-600: #40406A;
    --gradient-primary: linear-gradient(135deg, #6C63FF, #FF6584);
    --gradient-secondary: linear-gradient(135deg, #6C63FF, #00D4AA);
    --gradient-accent: linear-gradient(135deg, #FF6584, #FFB347);
    --gradient-dark: linear-gradient(135deg, #0A0A1A, #1A1A3E);
    --gradient-card: linear-gradient(145deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FE;
    --text-primary: #0A0A1A;
    --text-secondary: #60608A;
    --text-muted: #9090B0;
    --border-color: #E0E0EB;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #0A0A1A;
    --footer-text: #C0C0D5;
}

[data-theme="dark"] {
    --bg-primary: #0A0A1A;
    --bg-secondary: #12122A;
    --text-primary: #F0F0F7;
    --text-secondary: #C0C0D5;
    --text-muted: #9090B0;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --navbar-bg: rgba(10, 10, 26, 0.9);
    --footer-bg: #060612;
    --footer-text: #9090B0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: var(--transition);
}

::selection {
    background: var(--primary);
    color: var(--light);
}

::-webkit-scrollbar {
    width: 8px;
}

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

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

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

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

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

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

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

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .glass-card p.text-muted,
[data-theme="light"] .glass-card .text-muted {
    color: var(--text-secondary) !important;
}

.glass-card:hover {
    background: rgba(108, 99, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--light);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    color: var(--light);
}

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

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

.btn-accent {
    background: var(--gradient-secondary);
    border: none;
    color: var(--light);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    color: var(--light);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 1.5rem;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Navbar */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.navbar-brand span {
    color: var(--primary);
}

.navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-toggler-icon-custom {
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary);
}

.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 60%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

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

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(108, 99, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: particleFloat 20s infinite;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.hero-stat-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(100px) scale(0); opacity: 0; }
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    isolation: isolate;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--glow-angle, 0deg),
        transparent 0deg,
        var(--primary) 40deg,
        transparent 80deg,
        transparent 140deg,
        var(--secondary) 180deg,
        transparent 220deg,
        transparent 280deg,
        var(--accent) 320deg,
        transparent 360deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.15), var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    to { --glow-angle: 360deg; }
}

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

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

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
}

/* Portfolio Cards */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h5 {
    color: white;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.portfolio-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.9);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    isolation: isolate;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--glow-angle, 0deg),
        transparent 0deg, var(--accent) 30deg, transparent 80deg,
        transparent 150deg, var(--primary) 190deg, transparent 240deg,
        transparent 300deg, var(--secondary) 340deg, transparent 360deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.12), var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card:hover::after {
    opacity: 1;
    animation: rotateGlow 4s linear infinite;
}

.testimonial-stars {
    color: #FFB347;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h6 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 0.925rem;
}

.testimonial-info small {
    color: var(--text-muted);
}

/* Pricing Cards */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    isolation: isolate;
    height: 100%;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--glow-angle, 0deg),
        transparent 0deg,
        var(--primary) 30deg,
        transparent 70deg,
        transparent 130deg,
        var(--accent) 170deg,
        transparent 210deg,
        transparent 270deg,
        var(--secondary) 310deg,
        transparent 360deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

.pricing-card:hover {
    border-color: transparent;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.12), var(--shadow-lg);
}

.pricing-card:hover::after {
    opacity: 1;
    animation: rotateGlow 3.5s linear infinite;
}

.pricing-card.featured::after {
    background: conic-gradient(from var(--glow-angle, 0deg),
        var(--primary) 0deg,
        transparent 25deg,
        transparent 120deg,
        var(--secondary) 150deg,
        transparent 210deg,
        transparent 300deg,
        var(--accent) 330deg,
        var(--primary) 360deg
    );
}

.pricing-card .pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 4px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card .pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card .pricing-features li i {
    color: var(--accent);
}

/* Client Logos */
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(1);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo img {
    max-height: 60px;
    max-width: 150px;
}

/* Team Cards */
.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card .team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card .team-info {
    padding: 1.5rem;
}

.team-card .team-info h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-card .team-info p {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.team-card .team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-card .team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.team-card .team-social a:hover {
    background: var(--primary);
    color: white;
}

/* Blog Cards */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card .blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-card h5 a {
    color: var(--text-primary);
}

.blog-card h5 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

#footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

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

.footer .footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: block;
}

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

.footer .footer-about {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--footer-text);
    border-radius: var(--radius-full);
    padding: 0;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    color: white;
    padding: 0;
    transform: translateY(-3px);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer .footer-bottom a {
    display: inline;
    padding: 0;
}

.footer .footer-bottom a:hover {
    padding: 0;
}

.footer .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer .contact-info li i {
    color: var(--primary);
    width: 20px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    background: var(--gradient-primary);
    border: none;
}

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

/* Theme Toggle */
.theme-toggle-btn {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Page Header */
.page-header {
    background: var(--bg-secondary);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item {
    color: var(--text-muted);
}

.page-header .breadcrumb-item a {
    color: var(--primary);
}

/* About Page */
.about-founder {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-founder img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-founder .founder-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.about-founder .founder-info h3 {
    color: white;
    margin-bottom: 0.25rem;
}

.about-founder .founder-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

[data-theme="light"] .page-header .text-secondary,
[data-theme="light"] section .text-secondary {
    color: var(--text-primary) !important;
    opacity: 0.75;
}

@media (max-width: 767.98px) {
    .about-founder img { height: 300px; }
    .about-founder .founder-info { padding: 1.25rem; text-align: center; }
    .about-founder .founder-info h3 { font-size: 1.2rem; }
    .about-founder .founder-info p { font-size: 0.85rem; }
    section .section-header { text-align: center; }
    section .row .glass-card { text-align: center; }
    section .timeline-item { text-align: center; padding-left: 0; }
    section .timeline::before { display: none; }
    section .timeline-item::before { display: none; }
    section .timeline-item .year { display: block; text-align: center; }
    section .team-card { text-align: center; }
    section .team-card .team-photo { height: 240px; }
    section .col-lg-6 .section-badge { display: block; text-align: center; }
    section .col-lg-6 .section-title { text-align: center; }
    section .col-lg-6 p.text-secondary { text-align: center; }
    section .col-lg-6 .row .glass-card { text-align: center; }
    section .col-lg-6 .row .glass-card h5 { text-align: center; }
    section .col-lg-6 .row .glass-card p { text-align: center; }
    section .col-lg-6 .d-flex.align-items-center.gap-2 { justify-content: center; }
    section p.text-secondary { text-align: center; }
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.25rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.timeline-item .year {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
}

.timeline-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-control, .form-select {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Blog Detail */
.blog-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

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

.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-content pre {
    background: var(--dark);
    color: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    isolation: isolate;
    height: 100%;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--glow-angle, 0deg),
        transparent 0deg, var(--primary) 40deg, transparent 100deg,
        transparent 160deg, var(--accent) 200deg, transparent 260deg,
        transparent 300deg, var(--secondary) 340deg, transparent 360deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.12), var(--shadow-lg);
    border-color: transparent;
}

.contact-info-card:hover::after {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

.contact-info-card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-full);
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.contact-info-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* FAQ */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--card-bg);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236C63FF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Service Detail Page */
.service-hero {
    padding: 120px 0 60px;
    position: relative;
}

.service-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.service-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.process-step .step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 800;
    flex-shrink: 0;
}

.process-step h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Filter Buttons */
.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.pagination .page-link {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: var(--radius-sm) !important;
    padding: 8px 16px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Search */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 3rem;
}

.search-box .search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Hosting nav-pills scrollable on mobile */
.nav-pills.hosting-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.nav-pills.hosting-tabs::-webkit-scrollbar { display: none; }
.nav-pills.hosting-tabs .nav-link {
    white-space: nowrap;
}

/* Knowledge filter buttons wrap nicely */
.knowledge-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Service detail icon responsive */
.service-detail-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* ====== RESPONSIVE ====== */

/* XX-Large (≥1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* X-Large (1200-1399px) */
@media (max-width: 1399.98px) {
    .hero-title { font-size: 3.5rem; }
    .hero-gradient { width: 500px; height: 500px; }
}

/* Large (992-1199px) */
@media (max-width: 1199.98px) {
    .hero-title { font-size: 3rem; }
    .hero-gradient { width: 400px; height: 400px; }
    .section-title { font-size: 2.2rem; }
    .service-card { padding: 1.5rem; }
    .pricing-card { padding: 2rem 1.5rem; }
    .pricing-card .price { font-size: 2.5rem; }
}

/* Medium (768-991px) */
@media (max-width: 991.98px) {
    .section-padding { padding: 60px 0; }

    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; margin-top: 2rem; }
    .hero-stat-item h3 { font-size: 1.6rem; }

    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .section-header { margin-bottom: 2.5rem; }

    .pricing-card.featured,
    .pricing-card.featured:hover { transform: scale(1); }

    .stat-item { padding: 1.5rem; }
    .stat-item h3 { font-size: 2.5rem; }

    .page-header h1 { font-size: 2.2rem; }
    .page-header { padding: 100px 0 40px; }

    .about-founder img { height: 350px; }

    .footer { padding: 60px 0 0; }
    .footer .footer-bottom { margin-top: 2rem; }

    /* Navbar mobile fixes */
    .navbar .navbar-collapse {
        background: var(--navbar-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    .navbar .nav-link { padding: 0.75rem 1rem; }
    .navbar .navbar-nav .ms-lg-2 { margin-left: 0 !important; margin-top: 0.5rem; }
    .navbar .navbar-nav .btn { width: 100%; text-align: center; }
}

/* Small (576-767px) */
@media (max-width: 767.98px) {
    .section-padding { padding: 40px 0; }

    .hero-section { min-height: auto; }
    .hero-content { padding: 100px 0 60px; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-badge { font-size: 0.8rem; }
    .hero-cta { justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
    .hero-stat-item { flex: 1 1 calc(50% - 0.75rem); min-width: 0; }
    .hero-stat-item h3 { font-size: 1.4rem; }
    .hero-stat-item p { font-size: 0.75rem; }
    .hero-cta .btn-lg { padding: 12px 24px; font-size: 1rem; }
    .hero-gradient, .hero-gradient-2 { display: none; }

    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.95rem; }

    .page-header { padding: 80px 0 30px; }
    .page-header h1 { font-size: 1.8rem; }

    .stat-item { padding: 1rem; }
    .stat-item h3 { font-size: 2rem; }

    .service-card { padding: 1.25rem; }
    .service-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1rem; }

    .portfolio-card { height: 220px; }

    .blog-card .blog-image { height: 160px; }

    .pricing-card { padding: 1.5rem; }
    .pricing-card .price { font-size: 2rem; }
    .pricing-card .pricing-features li { font-size: 0.9rem; }
    .pricing-card.featured { box-shadow: var(--shadow-md); }

    .contact-form { padding: 1.5rem; }
    .contact-info-card { padding: 1.5rem; }

    .team-card .team-photo { height: 220px; }

    .testimonial-card { padding: 1.5rem; }

    .about-founder img { height: 280px; }
    .about-founder .founder-info { padding: 1.25rem; }

    .cursor, .cursor-follower { display: none; }
    .theme-toggle-btn { top: auto; bottom: 80px; right: 12px; width: 40px; height: 40px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.25rem; bottom: 16px; right: 16px; }
    #back-to-top { width: 40px; height: 40px; bottom: 16px; left: 16px; }

    .footer { padding: 40px 0 0; }
    .footer h5 { font-size: 1rem; margin-bottom: 1rem; }
    .footer .footer-bottom { margin-top: 1.5rem; padding: 1rem 0; }
    .footer .footer-bottom .text-md-end { text-align: left !important; margin-top: 0.5rem; }

    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section .btn-lg { display: block; width: 100%; margin: 0 0 0.75rem 0 !important; }

    .accordion-button { padding: 1rem 1.25rem; font-size: 0.95rem; }
    .accordion-body { padding: 1rem 1.25rem; }

    .filter-btn { padding: 6px 14px; font-size: 0.8rem; }

    .search-box input { font-size: 0.9rem; }
}

/* X-Small (<576px) */
@media (max-width: 575.98px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { gap: 0.5rem; }
    .hero-stat-item { flex: 1 1 calc(50% - 0.5rem); padding: 0.5rem; }
    .hero-stat-item h3 { font-size: 1.2rem; }
    .hero-stat-item p { font-size: 0.7rem; }
    .hero-content { padding: 80px 0 40px; }

    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.9rem; }

    .page-header { padding: 70px 0 24px; }
    .page-header h1 { font-size: 1.5rem; }
    .page-header p { font-size: 0.9rem; }

    .stat-item h3 { font-size: 1.6rem; }
    .stat-item p { font-size: 0.85rem; }

    .service-card { padding: 1rem; }
    .service-card h5 { font-size: 1rem; }
    .service-card p { font-size: 0.85rem; }

    .portfolio-card { height: 180px; }
    .portfolio-overlay { padding: 1rem; }
    .portfolio-overlay h5 { font-size: 0.95rem; }

    .pricing-card .price { font-size: 1.6rem; }

    .blog-card .blog-image { height: 140px; }
    .blog-card .blog-content { padding: 1rem; }
    .blog-card h5 { font-size: 0.95rem; }

    .contact-form { padding: 1rem; }
    .contact-info-card { padding: 1rem; }
    .contact-info-card .icon { width: 48px; height: 48px; font-size: 1.2rem; }

    .team-card .team-photo { height: 180px; }
    .team-card .team-info { padding: 1rem; }

    .testimonial-card { padding: 1rem; }

    .about-founder img { height: 220px; }

    .footer { font-size: 0.9rem; }
    .footer .social-links a { width: 36px; height: 36px; }

    .cta-section h2 { font-size: 1.4rem; }
    .cta-section p { font-size: 0.9rem; }

    .whatsapp-float { width: 44px; height: 44px; font-size: 1.1rem; bottom: 12px; right: 12px; }
    .theme-toggle-btn { bottom: 70px; right: 12px; width: 36px; height: 36px; font-size: 0.9rem; }
    #back-to-top { width: 36px; height: 36px; bottom: 12px; left: 12px; }

    .empty-state { padding: 2rem 1rem; }
    .empty-state i { font-size: 3rem; }

    .form-control, .form-select { padding: 10px 14px; font-size: 0.9rem; }

    .service-hero { padding: 80px 0 30px; }
    .service-content h2 { font-size: 1.4rem; }
    .service-content h3 { font-size: 1.2rem; }

    .feature-item { padding: 1rem; flex-direction: column; gap: 0.5rem; }
    .feature-item i { font-size: 1.2rem; }

    .process-step { padding: 1rem; gap: 1rem; flex-direction: column; }
    .process-step:not(:last-child)::after { left: 20px; top: 50px; }
    .process-step .step-number { width: 40px; height: 40px; font-size: 0.9rem; }

    .blog-content h2 { font-size: 1.4rem; }
    .blog-content h3 { font-size: 1.2rem; }
    .blog-content pre { padding: 1rem; font-size: 0.85rem; }

    .nav-pills .nav-link { font-size: 0.85rem; padding: 8px 14px; }
    .pagination .page-link { padding: 6px 12px; font-size: 0.85rem; }
}

/* Landscape phones & small tablets */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section { min-height: auto; }
    .hero-content { padding: 80px 0 40px; }
    .hero-title { font-size: 1.6rem; }
    .hero-stats { gap: 1rem; margin-top: 1rem; padding-top: 1rem; }
}

/* Print styles */
@media print {
    .navbar, .footer, .whatsapp-float, #back-to-top, .theme-toggle-btn, #preloader,
    .cursor, .cursor-follower, .hero-gradient, .hero-gradient-2, .hero-particles,
    .stats-section, .cta-section { display: none !important; }
    body { background: white !important; color: black !important; }
    .container { max-width: 100% !important; }
}

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

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glassmorphism Card Hover */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* Word Rotator */
.word-rotator {
    display: inline-block;
}

.word-rotator .word {
    position: absolute;
    opacity: 0;
}

.word-rotator .word.active {
    opacity: 1;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

/* Custom Form Check */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* Badge */
.badge-primary {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}
