/* Modern Asymmetric Glassmorphism Design for Mobile App & Product Design Studio */
/* Design Concept: Asymmetric grid layouts with glassmorphic cards, gradient accents, and bold typography mixing */

:root {
  /* Color System - Vibrant gradients with glassmorphic transparency */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  
  /* Glass morphism colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --container-max: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  position: relative;
}

/* Background Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

/* Glass Card Component */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(31, 38, 135, 0.5);
}

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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-accent);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--font-accent);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  color: rgba(26, 26, 26, 0.8);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  min-width: 140px;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: #1a1a1a;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

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

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

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

.tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: white;
}

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

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

/* Hero Section - Asymmetric Grid Layout */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-accent);
  color: white;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

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

/* Floating Cards in Hero */
.hero-visual {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  min-width: 200px;
  box-shadow: var(--glass-shadow);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.floating-card h4 {
  color: white;
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.floating-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

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

/* Section Styles */
section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

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

.service-card {
  padding: var(--space-xl);
  text-align: center;
  height: 100%;
}

.service-icon {
  color: white;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}

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

.service-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* About Section - Asymmetric Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-content h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.about-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-accent);
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.compliance-note {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.about-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
}

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

.portfolio-item {
  overflow: hidden;
  padding: 0;
}

.portfolio-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.portfolio-content {
  padding: var(--space-lg);
}

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

.portfolio-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.portfolio-tag {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-item {
  color: rgba(255, 255, 255, 0.8);
}

.contact-item strong {
  color: white;
}

/* Contact Form */
.contact-form {
  padding: var(--space-xl);
}

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

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

.form-group label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.8);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: var(--space-sm);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
}

.footer-content {
  color: rgba(255, 255, 255, 0.9);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

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

.contact-info-list p {
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-lg);
  box-shadow: 0 -8px 32px rgba(31, 38, 135, 0.37);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: var(--container-max);
  margin: 0 auto;
}

.cookie-main {
  flex: 1;
}

.cookie-banner h3 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
  min-width: 80px;
}

.cookie-btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cookie-btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-minimize {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.cookie-minimize:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

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

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

.cookie-category {
  margin-bottom: var(--space-md);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: white;
  cursor: pointer;
  font-weight: 500;
}

.cookie-toggle input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  width: 50px;
  height: 26px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  position: relative;
  transition: background var(--transition-fast);
}

.toggle-slider::after {
  content: '';
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .toggle-slider {
  background: var(--primary-gradient);
}

.cookie-toggle input:checked + .toggle-slider::after {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: var(--space-xs) 0 0 62px;
}

.cookie-customize-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.cookie-banner-minimized {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 10000;
}

.cookie-expand-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: var(--glass-shadow);
}

.cookie-expand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 38, 135, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .hero-visual {
    height: 300px;
    order: -1;
  }
  
  .floating-card {
    min-width: 160px;
    padding: var(--space-sm);
  }
  
  .floating-card.card-2 {
    top: 30%;
    right: -10px;
  }
  
  .floating-card.card-3 {
    bottom: 10px;
    left: 40%;
  }
  
  .nav {
    display: none;
  }
  
  .header-content {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-visual {
    order: -1;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .cookie-actions {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .floating-card {
    min-width: 140px;
    padding: var(--space-xs);
  }
  
  .floating-card h4 {
    font-size: 1rem;
  }
  
  .floating-card p {
    font-size: 0.8rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-visual {
    height: 250px;
  }
}
