/* Modern CSS Reset and Base Styles */
:root {
    /* Light, warm, friendly theme */
    --bg-color: #fcfbf7;
    --text-main: #1f2937;
    /* Dark cool gray for text readability */
    --text-muted: #4b5563;
    --accent-1: #fbbf24;
    /* Warm friendly yellow */
    --accent-2: #f59e0b;
    /* Amber/Orange */
    --accent-3: #14b8a6;
    /* Teal accent */

    /* Glassmorphism optimized for light mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* WebGL/Canvas Background */
#interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-2);
    box-shadow: 0 0 10px var(--accent-1);
}

.cursor-halo {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 158, 11, 0.6);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-halo.active {
    width: 60px;
    height: 60px;
    background-color: rgba(251, 191, 36, 0.1);
    border-color: var(--accent-2);
    backdrop-filter: blur(2px);
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s;
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.logo span {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #111;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
    border-color: var(--accent-2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease forwards;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.badge i {
    animation: pulseGlow 2s infinite;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 800;
    max-width: 1000px;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease forwards 0.2s;
    opacity: 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-2), var(--accent-1), var(--accent-3));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite alternate;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease forwards 0.4s;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 1.2rem;
    animation: fadeInUp 1s ease forwards 0.6s;
    opacity: 0;
}

/* Services Section */
.services {
    padding: 10rem 5%;
    position: relative;
}

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

.section-subtitle {
    color: var(--accent-2);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    backdrop-filter: blur(20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px var(--glass-shadow);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(251, 191, 36, 0.1) inset;
}

.service-card:hover::after {
    opacity: 1;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    transform: scale(1.1) translateZ(20px);
    border-color: transparent;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    transition: transform 0.5s ease;
    color: var(--text-main);
}

.service-card:hover h3 {
    transform: translateZ(30px);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    transition: transform 0.5s ease;
}

.service-card:hover p {
    transform: translateZ(20px);
}

.feature-list {
    list-style: none;
    transition: transform 0.5s ease;
}

.service-card:hover .feature-list {
    transform: translateZ(10px);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-list li i {
    color: var(--accent-2);
    font-size: 0.8rem;
}

/* Demo Concept Section */
.concept-section {
    padding: 8rem 5%;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diff-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px var(--glass-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    border-radius: 0 2px 2px 0;
    transition: height 0.4s ease;
}

.diff-card:hover::before {
    height: 100%;
}

.diff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.diff-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-2);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.diff-card:hover .diff-icon {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    transform: scale(1.08);
}

.diff-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.diff-card .diff-highlight {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-2);
}

.diff-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}


/* Contact Form Overlay */
.contact-section {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-section.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.contact-section.active .contact-container {
    transform: scale(1) translateY(0);
}

.contact-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 1;
}

.contact-close:hover {
    background: var(--accent-2);
    color: white;
    border-color: transparent;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.form-group h3 span {
    color: var(--accent-2);
    margin-right: 0.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Custom Checkboxes and Radios */
.custom-option {
    display: block;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    user-select: none;
    transition: color 0.3s ease;
}

.custom-option:hover {
    color: var(--text-main);
}

.custom-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    /* Box for checkbox */
    transition: all 0.3s ease;
}

.custom-option.radio .checkmark {
    border-radius: 50%;
    /* Circle for radio */
}

.custom-option:hover input~.checkmark {
    border-color: var(--accent-1);
}

.custom-option input:checked~.checkmark {
    background-color: var(--accent-2);
    border-color: var(--accent-2);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-option input:checked~.checkmark:after {
    display: block;
}

/* Checkbox checkmark icon */
.custom-option:not(.radio) .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio inner circle */
.custom-option.radio .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-2);
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 5px var(--accent-1);
        opacity: 0.8;
    }

    50% {
        text-shadow: 0 0 15px var(--accent-1);
        opacity: 1;
    }

    100% {
        text-shadow: 0 0 5px var(--accent-1);
        opacity: 0.8;
    }
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 4px;
    z-index: 201;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--accent-2);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(252, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent-2);
    background: rgba(245, 158, 11, 0.08);
}

.mobile-menu .btn-primary {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* My Approach Section */
.approach-section {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.approach-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5rem 4rem;
    max-width: 900px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.approach-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-1);
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
}

.approach-panel::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-3);
    filter: blur(80px);
    opacity: 0.3;
    border-radius: 50%;
}

.approach-panel h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-main);
}

.approach-panel p {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Portfolio Modal */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.portfolio-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.portfolio-card:hover {
    border-color: var(--accent-2);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
    transform: translateY(-4px);
}

.portfolio-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-2);
    margin: 0 auto 1rem;
}

.portfolio-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.portfolio-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.portfolio-card .portfolio-tag {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-2);
}

/* Service Modal */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.service-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    background: var(--accent-2);
    color: white;
    border-color: transparent;
}

.service-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-modal h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.service-modal .modal-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.rate-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.rate-tier {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.rate-tier:hover {
    border-color: var(--accent-2);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
    transform: translateY(-4px);
}

.rate-tier.featured {
    border-color: var(--accent-2);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.04));
}

.rate-tier-name {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
}

.rate-tier-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.rate-original-price {
    text-decoration: line-through;
    opacity: 0.45;
    font-size: 0.85em;
}

.rate-free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75em;
    font-weight: 800;
    padding: 0.15em 0.6em;
    border-radius: 6px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.rate-half-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    font-size: 0.75em;
    font-weight: 800;
    padding: 0.15em 0.6em;
    border-radius: 6px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

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

.service-modal .modal-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-modal .modal-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.service-modal .modal-features li i {
    color: var(--accent-2);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    nav > .btn-secondary {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 6rem;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .cta-group .btn {
        width: 100%;
    }

    .services {
        padding: 5rem 5%;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .concept-section {
        padding: 4rem 5%;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .diff-card {
        padding: 2rem 1.5rem;
    }

    .approach-section {
        padding: 4rem 5%;
    }

    .approach-panel {
        padding: 2.5rem 1.5rem;
    }

    .approach-panel h2 {
        font-size: 1.8rem;
    }

    .approach-panel p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-section {
        padding: 0;
        align-items: flex-end;
    }

    .contact-container {
        padding: 2.5rem 1.5rem;
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* Fallback cursor for mobile */
    * {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-halo {
        display: none !important;
    }

    .service-modal-overlay {
        padding: 1rem;
        align-items: flex-end;
    }

    .service-modal {
        padding: 2rem 1.5rem;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }

    .rate-card {
        grid-template-columns: 1fr;
    }
}
