/* CSS Variables for Theme Support */
:root {
    /* Light Theme Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-color: #10b981;
    
    /* Light Theme Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-dark: #0f172a;
    
    /* Light Theme Text */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Light Theme Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Dark Theme Colors */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.8);
    --bg-dark: #020617;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    
    --border-color: #334155;
    --border-light: #475569;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 65px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle .light-icon,
.theme-toggle .dark-icon {
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    position: absolute;
}

.theme-toggle .light-icon {
    color: #f59e0b;
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .dark-icon {
    color: #6366f1;
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform var(--transition-normal);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border-color);
}

.floating-card:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

.card-header {
    margin-bottom: 1rem;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.card-dots span:nth-child(1) { background: #ef4444; }
.card-dots span:nth-child(2) { background: #f59e0b; }
.card-dots span:nth-child(3) { background: #10b981; }

.mockup-website {
    width: 300px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    color: white;
}

.mockup-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mockup-nav-item {
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
}

.mockup-hero {
    text-align: center;
}

.mockup-title {
    width: 80%;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    margin: 0 auto 0.5rem;
}

.mockup-subtitle {
    width: 60%;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: floatElement 8s ease-in-out infinite;
}

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

.element-2 {
    top: 60%;
    right: -10%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-orb 20s ease-in-out infinite;
}

.gradient-orb:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: 20%;
    left: 5%;
    animation-delay: 10s;
}

.gradient-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    animation-delay: 5s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

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

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-features span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-image {
    box-shadow: var(--shadow-xl);
}

.mockup-preview {
    width: 100%;
    max-width: 300px;
}

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

.mockup-browser-header {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-browser-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-browser-dots span:nth-child(1) { background: #ef4444; }
.mockup-browser-dots span:nth-child(2) { background: #f59e0b; }
.mockup-browser-dots span:nth-child(3) { background: #10b981; }

.mockup-browser-content {
    padding: 1rem;
    height: 150px;
}

.mockup-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-hero-section {
    height: 40%;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

.mockup-content-section {
    height: 60%;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

.mockup-content-section::before,
.mockup-content-section::after {
    content: '';
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

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

.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.hidden {
    display: none;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-primary);
    background: #f1f5f9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

[data-theme="dark"] .footer-social a {
    color: #fff;
    background: #1e293b;
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile Improvements */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-glass);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-xl);
        padding: 80px 2rem 2rem;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    /* Hero Section Mobile Improvements */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.2rem;
        padding: 0 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.2rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        text-align: center;
    }

    /* Hero Visual Mobile Improvements */
    .floating-card {
        padding: 1.5rem;
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
        max-width: 90%;
    }

    .mockup-website {
        width: 100%;
        max-width: 280px;
        height: 180px;
    }

    .floating-elements {
        display: none;
    }

    /* Section Improvements */
    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Services Mobile Improvements */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Process Mobile Improvements */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .step {
        padding: 0 1rem;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .step h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .step p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Portfolio Mobile Improvements */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .portfolio-item {
        margin: 0 0.5rem;
    }

    .portfolio-image {
        height: 200px;
        padding: 1.5rem;
    }

    .mockup-preview {
        max-width: 250px;
    }

    .mockup-browser-content {
        height: 120px;
        padding: 0.8rem;
    }

    .portfolio-info {
        padding: 1.5rem 1.2rem;
    }

    .portfolio-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    /* Contact Mobile Improvements */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .contact-info p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .contact-details {
        align-items: center;
        gap: 1.2rem;
    }

    .contact-item {
        font-size: 1rem;
        justify-content: center;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1.2rem;
        font-size: 1rem;
    }

    /* Footer Mobile Improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-social {
        justify-content: center;
        gap: 1.2rem;
    }

    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Container Mobile Improvements */
    .container {
        padding: 0 1rem;
    }

    /* Gradient Orbs Mobile Adjustments */
    .gradient-orb:nth-child(1) {
        width: 250px;
        height: 250px;
        top: 5%;
        right: -10%;
    }

    .gradient-orb:nth-child(2) {
        width: 200px;
        height: 200px;
        bottom: 10%;
        left: -5%;
    }

    .gradient-orb:nth-child(3) {
        width: 150px;
        height: 150px;
        top: 30%;
        left: 30%;
    }

    .hero {
        padding-top: 110px;
    }
    .navbar {
        min-height: 70px;
    }
    .hero-badge {
        margin-bottom: 2rem;
    }
    .hero-title {
        margin-bottom: 2rem;
    }
    .hero-description {
        margin-bottom: 2.2rem;
    }
    .hero-stats {
        margin-bottom: 2.2rem;
    }
    .hero-buttons {
        margin-bottom: 2.2rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Improvements */
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        max-width: 250px;
    }

    .service-card,
    .portfolio-item {
        margin: 0 0.25rem;
    }

    .contact-form {
        margin: 0 0.25rem;
        padding: 1.2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .floating-card {
        padding: 1.2rem;
    }

    .mockup-website {
        height: 160px;
        padding: 0.8rem;
    }

    .mockup-nav {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .mockup-nav-item {
        width: 50px;
        height: 6px;
    }

    .mockup-title {
        height: 16px;
        margin-bottom: 0.4rem;
    }

    .mockup-subtitle {
        height: 12px;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }

    .portfolio-item:hover {
        transform: none;
    }

    .nav-link:hover::after {
        width: 0;
    }

    /* Add active states for touch devices */
    .btn:active {
        transform: scale(0.98);
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .portfolio-item:active {
        transform: scale(0.98);
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.step,
.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }

[data-theme="dark"] .contact-info h2,
[data-theme="dark"] .contact-info p,
[data-theme="dark"] .contact-details,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .contact-item i,
[data-theme="dark"] .contact-item span {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .contact-info h2 {
    color: #fff !important;
}
[data-theme="dark"] .contact-info p {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .contact-item i {
    color: var(--primary-color) !important;
}
[data-theme="dark"] .contact-details {
    color: #e0e7ef !important;
}
[data-theme="dark"] .contact-item span {
    color: #e0e7ef !important;
}

[data-theme="dark"] .footer,
[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4,
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section ul li a,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-links a {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
    color: #fff !important;
}
[data-theme="dark"] .footer-section ul li a:hover,
[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color) !important;
}
[data-theme="dark"] .footer-social a {
    color: #fff !important;
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}
[data-theme="dark"] .footer-social a:hover {
    background: var(--primary-color) !important;
} 