/* 
 * HKO VEHICLES LTD - Mobile App & Product Design Studio
 * Unique Design Approach: Glassmorphism + Neubrutal Elements
 * 
 * This design combines the elegant transparency of glassmorphism with bold,
 * angular neubrutal elements to create a modern, tech-forward aesthetic
 * that reflects innovation in mobile app development.
 */

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

:root {
    /* Color Palette - Modern Tech with UK Sophistication */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Glassmorphism Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Buttons - Neubrutal Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

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

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 4px 4px 0 var(--primary-dark);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 4px 4px 0 #d97706;
    transform: translateY(0);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #d97706;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 4px 4px 0 var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--primary-color);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}

/* Cookie Banner - Glassmorphism Style */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.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-lg);
}

.cookie-text h3 {
    margin-bottom: var(--space-xs);
    color: white;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.btn-minimize {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    padding: 0;
}

.cookie-customize {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-option {
    margin-bottom: var(--space-sm);
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: all var(--transition-normal);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.badge-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.highlight {
    background: linear-gradient(45deg, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-phone-mockup {
    position: relative;
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.app-nav {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-card {
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.content-card:nth-child(2) {
    animation-delay: 0.5s;
}

.content-card:nth-child(3) {
    animation-delay: 1s;
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    color: white;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.floating-card .card-icon {
    font-size: 1.5rem;
}

.card-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 25%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 5%;
    right: 10%;
    animation-delay: 4.5s;
}

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

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: rotate 20s linear infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-duration: 35s;
}

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

/* Sections */
section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.services, .portfolio, .about {
    background: var(--bg-primary);
    margin: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-strong);
}

.services {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.portfolio {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.about {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.contact {
    background: var(--bg-secondary);
    margin: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-strong);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    color: white;
}

.service-card p {
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-md);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.portfolio-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

.portfolio-content {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.portfolio-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step h4 {
    margin-bottom: var(--space-xs);
    color: white;
}

.step p {
    margin: 0;
    opacity: 0.9;
}

/* Contact Section */
.contact-info {
    color: var(--text-primary);
}

.contact-info .section-title {
    text-align: left;
    color: var(--text-primary);
}

.contact-info .section-title::after {
    left: 0;
    transform: translateX(0);
}

.contact-info .lead {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-details {
    margin-top: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
}

.contact-form h3 {
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

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

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

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer h4 {
    color: white;
    margin-bottom: var(--space-md);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--space-xs);
}

.footer ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: white;
}

.footer-contact-item {
    margin-bottom: var(--space-sm);
    color: #d1d5db;
}

.footer-contact-item a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-lg);
    text-align: center;
    color: #9ca3af;
}

/* Space Section */
#space {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        z-index: 999;
        transform: translateY(-100%);
        transition: all var(--transition-normal);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu a {
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 600;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile Header */
    .header {
        padding: var(--space-sm) 0;
    }
    
    .nav {
        padding: var(--space-sm) var(--space-md);
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    /* Mobile Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-badge {
        margin-bottom: var(--space-sm);
    }
    
    .badge-text {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--space-lg);
        padding: 0 var(--space-sm);
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--space-lg);
        margin-bottom: var(--space-lg);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .hero-phone-mockup {
        width: 150px;
        height: 300px;
        padding: 15px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .hero-background-elements {
        display: none;
    }
    
    /* Mobile Sections */
    .services, .portfolio, .about, .contact {
        margin: var(--space-md);
        padding: var(--space-lg) 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: var(--space-xl);
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-stats {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-steps {
        gap: var(--space-md);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }
    
    /* Mobile Contact Form */
    .contact-form-container {
        padding: var(--space-lg);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .contact-icon {
        align-self: center;
    }
    
    /* Mobile Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-brand {
        order: -1;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
    }
    
    /* Extra Small Mobile Navigation */
    .nav-menu {
        top: 60px;
        padding: var(--space-md);
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: var(--space-md) 0;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    /* Extra Small Mobile Hero */
    .hero {
        padding-top: 70px;
    }
    
    .hero-container {
        padding: var(--space-md);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .hero-phone-mockup {
        width: 120px;
        height: 240px;
        padding: 10px;
    }
    
    /* Extra Small Mobile Sections */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-lg);
    }
    
    .services,
    .portfolio,
    .about,
    .contact {
        margin: var(--space-sm);
        padding: var(--space-md) 0;
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-features {
        font-size: 0.9rem;
    }
    
    .portfolio-item {
        margin-bottom: var(--space-md);
    }
    
    .portfolio-content {
        padding: var(--space-md);
    }
    
    .portfolio-tags {
        gap: var(--space-xs);
    }
    
    .tag {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    /* Extra Small Mobile About */
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat {
        min-width: auto;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .step {
        padding: var(--space-md);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step h4 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    /* Extra Small Mobile Contact */
    .contact-form-container {
        padding: var(--space-md);
    }
    
    .contact-item {
        padding: var(--space-sm);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .form-input,
    .form-textarea {
        padding: var(--space-sm);
        font-size: 0.95rem;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    /* Extra Small Mobile Footer */
    .footer {
        padding: var(--space-lg) 0 var(--space-md);
    }
    
    .footer-content {
        gap: var(--space-md);
    }
    
    .footer h4 {
        font-size: 1.1rem;
    }
    
    .footer p,
    .footer ul li {
        font-size: 0.9rem;
    }
    
    /* Extra Small Mobile Cookie Banner */
    .cookie-banner {
        padding: var(--space-md);
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }
    
    .btn-minimize {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Extra Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .portfolio-content,
    .contact-form-container {
        padding: var(--space-sm);
    }
    
    .btn-large {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .nav-menu {
        padding: var(--space-sm);
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: var(--space-sm) 0;
    }
    
    .logo {
        font-size: 1rem;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .floating-card {
        position: absolute;
        animation: float 6s ease-in-out infinite;
    }
    
    .floating-card .card-icon {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        top: 60px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.9);
        --glass-border: rgba(0, 0, 0, 0.3);
    }
    
    .service-card,
    .portfolio-item,
    .floating-card {
        border: 2px solid var(--text-primary);
    }
}
