/* Design System - CSS Variables */
:root {
    /* Colors (HSL format) */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(0, 0%, 10%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 10%);
    --primary: hsl(210, 100%, 65%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(0, 0%, 94%);
    --secondary-foreground: hsl(0, 0%, 20%);
    --muted: hsl(0, 0%, 96%);
    --muted-foreground: hsl(0, 0%, 45%);
    --accent: hsl(210, 100%, 65%);
    --border: hsl(0, 0%, 88%);
    --destructive: hsl(0, 84.2%, 60.2%);
    
    /* Custom tokens */
    --teal: hsl(210, 100%, 65%);
    --teal-glow: hsl(210, 100%, 75%);
    --surface: hsl(0, 0%, 100%);
    --surface-darker: hsl(0, 0%, 96%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius */
    --radius: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px hsla(210, 100%, 65%, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.container-small {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 2rem;
    height: 2rem;
    background-color: var(--teal);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo span {
    color: var(--background);
    font-weight: 700;
    font-size: 1.125rem;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.availability {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--teal);
    border-radius: var(--radius-full);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.availability span {
    color: var(--teal);
    font-weight: 500;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--background);
}

.btn-primary:hover {
    background-color: var(--teal-glow);
}

.btn-hero {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background-color: var(--foreground);
    color: var(--background);
}

.btn-hero:hover {
    opacity: 0.9;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    background-color: var(--teal);
    color: var(--background);
}

.btn-submit:hover {
    background-color: var(--teal-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    max-width: 100vw;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background), var(--surface), var(--surface-darker));
}

.blur-circle {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
}

.blur-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(61, 150, 255, 0.1);
}

.blur-2 {
    bottom: 25%;
    right: 25%;
    width: 16rem;
    height: 16rem;
    background-color: rgba(61, 150, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1.5rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}

.availability-badge span {
    color: var(--teal);
    font-weight: 500;
    font-size: 0.875rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    position: relative;
    color: var(--teal);
    display: inline-block;
}

.hero-title .underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.25rem;
    background-color: rgba(61, 150, 255, 0.3);
    border-radius: var(--radius-full);
}

.hero-subtitle {
    margin-bottom: 2rem;
}

.subtitle-main {
    font-size: 1.5rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.subtitle-secondary {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

.social-proof {
    margin-bottom: 2rem;
}

.social-proof p {
    color: var(--muted-foreground);
}

/* Our Magic Trick Section */
.magic-trick-section {
    margin-top: 3rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.magic-trick-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: hsla(210, 100%, 65%, 0.7);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.magic-trick-container {
    background: hsla(0, 0%, 100%, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.magic-trick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.magic-trick-item {
    text-align: left;
}

.magic-trick-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.magic-trick-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
}

.magic-trick-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.magic-trick-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.magic-trick-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.magic-trick-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.trust-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--teal);
    border-radius: 9999px;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-label {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--background), var(--surface-darker));
}

.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px hsla(210, 100%, 65%, 0.2);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(61, 150, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: rgba(61, 150, 255, 0.2);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
}

/* Technologies Section */
.technologies {
    background-color: var(--background);
}

.tech-grid {
    display: grid;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--card);
    color: var(--foreground);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    border-color: var(--primary);
    background-color: rgba(61, 150, 255, 0.05);
}

/* Projects Section */
.projects {
    background-color: var(--background);
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

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

.project-card:hover {
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-gradient-1 {
    background: linear-gradient(135deg, rgba(61, 150, 255, 0.2), rgba(61, 150, 255, 0.05));
}

.project-gradient-2 {
    background: linear-gradient(135deg, rgba(61, 150, 255, 0.15), var(--surface));
}

.project-gradient-3 {
    background: linear-gradient(135deg, rgba(61, 150, 255, 0.1), var(--surface-darker));
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(250, 250, 250, 0.9), transparent);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.external-link {
    color: var(--teal);
}

.project-content {
    padding: 1.5rem;
}

.project-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--surface-darker);
    color: var(--teal);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Pricing Section */
.pricing {
    background-color: var(--surface-darker);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--teal);
    box-shadow: var(--shadow-glow);
}

.recommended-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--teal);
    color: var(--background);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.pricing-amount {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.period {
    color: var(--muted-foreground);
    margin-left: 0.5rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature svg {
    flex-shrink: 0;
}

.feature-negative {
    color: var(--muted-foreground);
}

.feature-negative svg {
    color: var(--destructive);
}

.feature-positive {
    color: var(--foreground);
}

.feature-positive svg {
    color: var(--teal);
}

.pricing-footer {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    font-size: 0.875rem;
}

.pricing-footer span {
    color: var(--foreground);
    font-weight: 500;
}

.dot-separator {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--teal);
    border-radius: var(--radius-full);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background);
}

.steps-grid {
    display: grid;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 6rem;
    height: 6rem;
    background-color: var(--surface);
    border: 2px solid var(--teal);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.step-circle span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
}

.step-connector {
    display: none;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--muted-foreground);
}

/* Development Process Section */
.development-process {
    background-color: rgba(250, 250, 250, 0.3);
    padding: 6rem 0;
}

.process-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.process-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.process-card:hover {
    border-color: var(--teal);
}

.process-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--teal);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.process-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background-color: rgba(250, 250, 250, 0.3);
}

.faq-accordion {
    max-width: 56rem;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-weight: 500;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    transition: all 0.2s;
}

.accordion-trigger:hover {
    text-decoration: underline;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 1rem;
}

.accordion-content p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Quote Form Section */
.quote-form {
    background-color: rgba(250, 250, 250, 0.5);
    position: relative;
}

.form-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    background-color: var(--background);
    color: var(--foreground);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 150, 255, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: none;
    font-family: inherit;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-slot-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
}

.time-slot-btn:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.time-slot-btn.selected {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.form-error {
    color: var(--destructive);
    font-size: 0.875rem;
    display: none;
}

.form-error.visible {
    display: block;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 24rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.toast-title {
    display: block;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.toast-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), rgba(61, 150, 255, 0.6));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.footer-tagline {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

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

.footer-links li {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .availability {
        display: flex;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .magic-trick-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-connector {
        display: block;
        position: absolute;
        top: 3rem;
        left: 100%;
        width: 100%;
        height: 1px;
        background-color: var(--border);
        z-index: 0;
    }
    
    .step:last-child .step-connector {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Math Captcha Modal */
.math-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
    overflow: hidden;
}

.math-modal.active {
    display: flex;
}

/* Prevent body scroll when modal is active */
body.modal-open {
    overflow: hidden;
    height: 100vh;
}

.math-modal-content {
    background: #ffffff;
    background: hsl(0, 0%, 100%);
    border: 2px solid hsl(var(--teal) / 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px hsl(var(--teal) / 0.1);
    animation: slideUp 0.3s ease;
    position: relative;
    margin: auto;
    transform: translateZ(0);
}

.math-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        hsl(var(--teal)) 0%, 
        hsl(210, 100%, 75%) 50%, 
        hsl(var(--teal)) 100%);
}

.math-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000 !important;
    margin-bottom: 1.5rem;
    text-align: center;
}

.math-modal-question {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        hsl(var(--teal) / 0.05), 
        hsl(var(--teal) / 0.1));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--teal) / 0.2);
}

.math-modal-question span {
    color: hsl(var(--teal));
    font-weight: 700;
    font-size: 1.75rem;
    text-shadow: 0 0 20px hsl(var(--teal) / 0.3);
}

.math-modal-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
    text-align: center;
    font-weight: 600;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
}

.math-modal-input:focus {
    outline: none;
    border-color: hsl(var(--teal));
    background: hsl(var(--card));
    box-shadow: 0 0 0 4px hsla(210, 100%, 65%, 0.15),
                0 0 20px hsla(210, 100%, 65%, 0.2);
    transform: scale(1.02);
}

.math-modal-input::placeholder {
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

.math-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.math-modal-buttons button {
    flex: 1;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
    background: hsl(var(--muted));
    border-color: hsl(var(--foreground) / 0.2);
    transform: translateY(-1px);
}

.math-modal-buttons .btn-primary {
    background: linear-gradient(135deg, 
        hsl(var(--teal)), 
        hsl(210, 100%, 55%));
    color: #ffffff;
    color: hsl(0, 0%, 0%);
    border: none;
    box-shadow: 0 4px 12px hsla(210, 100%, 65%, 0.3);
}

.math-modal-buttons .btn-primary:hover {
    background: linear-gradient(135deg, 
        hsl(210, 100%, 55%), 
        hsl(var(--teal)));
    color: #000000;
    box-shadow: 0 6px 20px hsla(210, 100%, 65%, 0.4);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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