/* ============================================
   Veyric Technologies - Futuristic Design
   ============================================ */

/* CSS Variables - Professional Light Theme */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #06b6d4;
    --accent-color: #3b82f6;
    --accent-cyan: #22d3ee;
    --accent-teal: #14b8a6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #e2e8f0;
    --border-color: rgba(99, 102, 241, 0.15);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-dark: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

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

.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

/* Motivational Quotes Styling */
em {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    position: relative;
}

p em, .large-text em, .service-description em, .feature-description em,
.experience-description em, .product-description em, .portfolio-description em,
.contact-card-text em, .step-description em, .value-description em {
    display: inline-block;
    padding: 0 0.25rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 0.5rem;
    margin: 0 0.25rem;
    font-size: 1.05em;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.navbar {
    padding: 2rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
    margin-right: -2px;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
}

.logo:hover {
    transform: translateX(3px);
}

.logo-text {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: var(--transition);
    margin-left: -2px;
    line-height: 1;
}

.logo:hover .logo-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

/* Animated Background Elements */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.15;
    animation: particleFloat 15s infinite ease-in-out;
}

.hero-particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.hero-particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.hero-particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.hero-particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.hero-particle:nth-child(5) {
    width: 14px;
    height: 14px;
    top: 30%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.hero-particle:nth-child(6) {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 20%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.hero-shape {
    position: absolute;
    opacity: 0.05;
    animation: shapeMove 25s infinite ease-in-out;
}

.hero-shape:nth-child(7) {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 15%;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 0s;
}

.hero-shape:nth-child(8) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    background: var(--gradient-secondary);
    border-radius: 50%;
    animation-delay: 3s;
}

.hero-shape:nth-child(9) {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 10%;
    background: var(--gradient-accent);
    transform: rotate(45deg);
    animation-delay: 6s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes shapeMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
        opacity: 0.15;
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
        opacity: 0.12;
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 6rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition);
}

.stat-item:hover::before {
    left: 0;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

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

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* Services Preview */
.services-preview {
    background: var(--bg-secondary);
    position: relative;
}

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

.service-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
    top: -20%;
    right: -20%;
}

.service-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    transform: scale(1.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 16px;
    padding: 1rem;
    transition: var(--transition);
    animation: iconFloat 3s ease-in-out infinite;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.service-link:hover {
    color: var(--accent-cyan);
    gap: 1rem;
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-primary);
    position: relative;
}

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

.feature-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.3;
    font-family: 'Courier New', monospace;
}

.feature-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #1e40af 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.cta-title em {
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
}

.cta-subtitle em {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    border: 2px solid white;
    color: white;
}

.cta-section .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Page Hero - Creative Designs */
.page-hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.page-hero-text {
    position: relative;
    z-index: 2;
}

.page-hero-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Page Hero - Floating Shapes */
.page-hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%, rgba(6, 182, 212, 0.05) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.floating-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.2;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
    transform: rotate(45deg);
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Services Page Hero - Geometric Pattern */
.page-hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.geometric-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(99, 102, 241, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(99, 102, 241, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(6, 182, 212, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: patternMove 20s linear infinite;
    border-radius: 20px;
    position: relative;
}

.geometric-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    100% { background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px; }
}

/* Products Page Hero - Grid Visual */
.page-hero-products::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.product-grid-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.grid-item {
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 12px;
    opacity: 0.6;
    animation: gridPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 0.5s; }
.grid-item:nth-child(3) { animation-delay: 1s; }
.grid-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes gridPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

/* Portfolio Page Hero - Badge Visual */
.page-hero-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.portfolio-badge {
    position: absolute;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(3px);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    animation: badgeFloat 4s ease-in-out infinite;
}

.portfolio-badge:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.portfolio-badge:nth-child(2) {
    top: 50%;
    right: 15%;
    animation-delay: 1.3s;
}

.portfolio-badge:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 2.6s;
}

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

/* Contact Page Hero - Pulse Visual */
.page-hero-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactPulse 3s ease-in-out infinite;
}

.contact-pulse {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
    border-color: var(--primary-color);
}

.contact-pulse:nth-child(1) {
    animation-delay: 0s;
}

.contact-pulse:nth-child(2) {
    animation-delay: 0.7s;
}

.contact-pulse:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes contactPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    position: relative;
    display: inline-block;
    animation: fadeInLeft 1s ease-out;
}

.page-title::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    animation: expandHeight 1s ease-out 0.5s both;
}

@keyframes expandHeight {
    from { height: 0; }
    to { height: 60px; }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

/* About Page */
.about-intro {
    background: var(--bg-secondary);
}

.about-content-wrapper {
    display: block;
    margin-top: 3rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

/* Background Images */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
    opacity: 0.15;
    z-index: 0;
    transform: scale(1.05);
}

.section-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    z-index: 1;
}

section > .container {
    position: relative;
    z-index: 1;
}

.experience-section {
    background: var(--bg-primary);
    position: relative;
}

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

.experience-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.experience-card:hover::before {
    width: 300px;
    height: 300px;
}

.experience-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.experience-card:hover .experience-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    transform: scale(1.1);
}

.experience-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 16px;
    padding: 1rem;
    transition: var(--transition);
    animation: iconFloat 3s ease-in-out infinite;
}

.experience-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.experience-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.team-section {
    background: var(--bg-secondary);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
}

.team-description {
    text-align: center;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.expertise-item {
    display: inline-block;
}

.expertise-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expertise-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.expertise-badge:hover::before {
    left: 0;
}

.expertise-badge:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.values-section {
    background: var(--bg-primary);
}

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

.value-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.value-item:hover {
    transform: translateY(-8px) rotate(-1deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.value-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.service-detail-card {
    margin-bottom: 4rem;
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.service-detail-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transition: var(--transition);
}

.service-detail-card:hover::after {
    opacity: 0.1;
    transform: scale(1.2);
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-8px);
}

.service-detail-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-icon-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .service-detail-icon {
        width: 70px;
        height: 70px;
    }
}

.service-detail-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    position: relative;
}

.service-detail-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.service-detail-card:hover .service-detail-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}

.service-detail-text-content {
    flex: 1;
}

.service-detail-title {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-top: 0;
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

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

.service-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.service-feature:hover::before {
    transform: scaleY(1);
}

.service-feature:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    background: rgba(36, 37, 48, 0.8);
}

.feature-check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

/* Process Section */
.process-section {
    background: var(--bg-primary);
}

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

.process-step {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.process-step:hover::before {
    opacity: 0.1;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    position: relative;
    z-index: 1;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.8); }
}

.step-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Products Page */
.products-image-section {
    margin: 3rem 0 4rem;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
    animation: fadeInUp 1s ease-out;
}

.products-gradient {
    background: linear-gradient(135deg, 
        #f59e0b 0%, 
        #ec4899 25%, 
        #8b5cf6 50%, 
        #6366f1 75%, 
        #06b6d4 100%);
}

.products-image-section {
    margin: 3rem 0 4rem;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
    animation: fadeInUp 1s ease-out;
}

.products-gradient {
    background: linear-gradient(135deg, 
        #f59e0b 0%, 
        #ec4899 25%, 
        #8b5cf6 50%, 
        #6366f1 75%, 
        #06b6d4 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.product-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.product-card:hover::before {
    opacity: 0.3;
}

.product-card:hover {
    transform: translateY(-15px) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.product-card:hover .product-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    transform: scale(1.1);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 16px;
    padding: 1rem;
    transition: var(--transition);
    animation: iconFloat 3s ease-in-out infinite;
}

.product-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    75% { transform: translateY(-5px) rotate(-5deg); }
}

.product-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.product-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.product-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.product-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    text-shadow: 0 0 10px var(--primary-color);
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    margin-top: auto;
    flex-shrink: 0;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.product-link:hover {
    color: var(--accent-cyan);
    gap: 1rem;
    text-shadow: 0 0 10px var(--accent-cyan);
}

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

.portfolio-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.1;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.portfolio-item:hover .portfolio-image {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.portfolio-item:hover .portfolio-image svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.portfolio-image svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.portfolio-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.portfolio-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
}

.portfolio-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.portfolio-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.portfolio-stat {
    display: flex;
    flex-direction: column;
}

.portfolio-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Page */
.contact-section {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.contact-card-title {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card-text {
    color: var(--text-secondary);
    margin: 0;
}

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

.contact-card-text a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(248, 250, 252, 0.95);
    color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 1);
}

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

.form-success {
    padding: 1.25rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    border-radius: 12px;
    color: #10b981;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(3px);
}

.form-error {
    padding: 1.25rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    border-radius: 12px;
    color: #ef4444;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(3px);
}

.form-errors {
    padding: 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(3px);
}

.form-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-errors li {
    color: #ef4444;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-errors li::before {
    content: '⚠';
    font-size: 1.2rem;
}

/* 404 Page */
.error-page {
    padding: 8rem 0;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.error-code {
    font-size: 10rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(99, 102, 241, 0.3);
    animation: errorFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes errorFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.error-title {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.error-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
    flex-shrink: 0;
    padding-bottom: 25px;
}

.footer-title {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Inline logo for use anywhere */
.inline-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    vertical-align: middle;
}

.inline-logo-icon {
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.3));
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}

/* For larger inline logos in headings */
.inline-logo-large {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.inline-logo-icon-large {
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 1.5rem 0;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        gap: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .features-grid,
    .experience-grid,
    .values-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .products-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-title::before {
        height: 40px;
    }
    
    .page-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero-visual {
        height: 200px;
    }
    
    .portfolio-badge {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .product-grid-visual {
        max-width: 200px;
    }
    
    .error-code {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .navbar {
        padding: 1.25rem 0;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .service-card,
    .product-card,
    .portfolio-item {
        padding: 1.5rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Scroll */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
