/* SPITFIRE PI LTD - Modern Glassmorphism Design */
/* This design features glassmorphism effects, editorial typography, and fluid animations */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colour Palette - Modern UK-inspired with glassmorphism */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #f8fafc;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-hover: rgba(255, 255, 255, 0.9);
    --border: rgba(255, 255, 255, 0.2);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Glassmorphism Utility Classes */
.glass-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--shadow);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-lg);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: var(--space-md);
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.minimized {
    transform: translateY(calc(100% - 60px));
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
}

.cookie-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    margin-left: auto;
}

.btn-accept, .btn-decline, .btn-customize {
    padding: var(--space-xs) var(--space-md);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-accept {
    background: var(--primary);
    color: white;
}

.btn-accept:hover {
    background: var(--primary-dark);
}

.btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-decline:hover {
    background: var(--surface);
}

.btn-customize {
    background: var(--secondary);
    color: white;
}

.btn-customize:hover {
    background: #6d28d9;
}

.btn-minimize {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
    box-sizing: border-box;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.phone-frame {
    width: 200px;
    height: 400px;
    background: var(--gradient-2);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--gradient-3);
    border-radius: 20px 20px 0 0;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.gradient-orb-3 {
    width: 150px;
    height: 150px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Section Styles */
section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--text-primary);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.project-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-mockup-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: var(--transition);
}

.portfolio-item:hover .project-mockup-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.project-mockup-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.project-mockup-icon.icon-ecommerce svg {
    stroke: #f59e0b;
}

.project-mockup-icon.icon-social svg {
    stroke: #7c3aed;
}

.project-mockup-icon.icon-gaming svg {
    stroke: #2563eb;
}

/* Dark overlay gradient for better text readability */
.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-image::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.portfolio-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.portfolio-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* About Section */
.about {
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.stat-item {
    padding: var(--space-xl);
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-item strong {
    font-weight: 600;
}

.contact-item a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-xl);
}

/* Disable hover animation on contact form */
.contact-form.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: 0 8px 32px var(--shadow);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: white;
}

.form-input, .form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.form-help {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-error {
    color: #fca5a5;
    font-size: 0.8rem;
    margin-top: var(--space-xs);
    display: none;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-details p {
    margin-bottom: var(--space-xs);
    color: var(--text-light);
}

.footer-details a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-details a:hover {
    text-decoration: underline;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--space-xs);
}

.footer-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: var(--space-2xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        width: 100vw;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    
    .nav {
        padding: var(--space-sm) var(--space-md);
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
    
    .logo {
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100vw;
        background: var(--surface);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: 0 8px 32px var(--shadow);
        z-index: 999;
        box-sizing: border-box;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-link {
        padding: var(--space-sm) 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .cookie-actions {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .header {
        width: 100vw;
        left: 0;
        right: 0;
    }
    
    .nav {
        padding: var(--space-xs) var(--space-sm);
        width: 100%;
        max-width: none;
    }
    
    .logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .nav-menu {
        top: 60px;
        padding: var(--space-md);
        gap: var(--space-sm);
        max-height: calc(100vh - 60px);
    }
    
    .nav-link {
        font-size: 1rem;
        padding: var(--space-xs) 0;
    }
    
    .nav-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        width: 20px;
        height: 2px;
    }
    
    .hero {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: var(--space-sm);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.95rem;
    }
    
    .phone-frame {
        width: 150px;
        height: 300px;
        border-radius: 25px;
        padding: 15px;
    }
    
    .screen {
        border-radius: 15px;
    }
    
    .screen::before {
        height: 25px;
        border-radius: 15px 15px 0 0;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: var(--space-xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-md);
    }
    
    .service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: var(--space-sm);
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .portfolio-item {
        margin-bottom: var(--space-md);
    }
    
    .portfolio-image {
        height: 150px;
    }
    
.phone-mockup {
    width: 100px;
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
    
    .portfolio-content {
        padding: var(--space-lg);
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
        margin-bottom: var(--space-sm);
    }
    
    .portfolio-content p {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-description {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .about-features {
        gap: var(--space-md);
    }
    
    .feature h4 {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
    }
    
    .feature p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: var(--space-xs);
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: var(--space-sm);
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .contact-details {
        gap: var(--space-sm);
    }
    
    .contact-item {
        gap: var(--space-xs);
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .form-group {
        margin-bottom: var(--space-md);
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: var(--space-xs);
    }
    
    .form-input, .form-textarea {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    .btn-submit {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: var(--space-sm);
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
    }
    
    .footer h4 {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }
    
    .footer-details p {
        font-size: 0.9rem;
        margin-bottom: var(--space-xs);
    }
    
    .footer-menu li {
        margin-bottom: var(--space-xs);
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: var(--space-md);
        font-size: 0.9rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .cookie-content h3 {
        font-size: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-actions {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-xs);
    }
    
    .btn-accept, .btn-decline, .btn-customize {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --surface: rgba(255, 255, 255, 0.95);
        --border: rgba(0, 0, 0, 0.3);
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Ensure proper touch targets */
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent zoom on input focus */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Improve scrolling performance */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .nav {
        padding: var(--space-xs);
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav-toggle {
        width: 32px;
        height: 32px;
    }
    
    .hamburger {
        width: 18px;
        height: 2px;
    }
    
    .nav-menu {
        top: 55px;
        padding: var(--space-sm);
        max-height: calc(100vh - 55px);
    }
}
