:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #f43f5e;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #94a3b8;
  --gray-light: #e2e8f0;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-attachment: fixed;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* Layout Components */
.main-content {
  flex: 1;
  padding: 2rem 1.5rem;
}

/* Glassmorphism Effect - Enhanced */
.glassmorphism {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.glassmorphism:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

/* Header Styles - Modernized */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-light);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  bottom: 0;
  left: 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button Styles - Enhanced */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn .btn-text {
  transition: var(--transition-fast);
  position: relative;
  z-index: 2;
}

.btn:hover .btn-text {
  transform: translateX(4px);
}

/* Hero Section - Modernized */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0;
  position: relative;
  min-height: 80vh;
}

.hero-content {
  z-index: 10;
}

.hero-title {
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.1;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Enhanced CTA Buttons */
.cta-buttons .btn {
  border-radius: 14px;
  padding: 1.125rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-buttons .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cta-buttons .secondary-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Enhanced Pulse Effect */
.pulse-effect {
  animation: pulseModern 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  position: relative;
}

@keyframes pulseModern {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7), 0 8px 25px rgba(99, 102, 241, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(99, 102, 241, 0), 0 15px 35px rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
  }
}

/* Hero Illustration - Modern Typing Demo */
.hero-illustration {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.typing-demo-form {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.typing-demo-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.demo-input {
  width: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.typing-text {
  color: var(--darker);
  font-weight: 500;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.25rem;
  background: var(--primary);
  animation: blink 1s infinite;
  margin-left: 2px;
  border-radius: 1px;
}

.demo-button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.125rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.demo-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.demo-button i {
  transition: transform 0.3s ease;
}

.demo-button:hover i {
  transform: translateX(5px);
}

/* URL Transformation Demo - Modernized */
.url-transformation-demo {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.url-transformation-demo:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.url-row {
  margin: 1rem 0;
}

.url-input, .url-output {
  width: 100%;
  padding: 1.25rem;
  border-radius: 14px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
}

.url-input {
  background: rgba(255, 255, 255, 0.95);
  border: 2px dashed rgba(99, 102, 241, 0.3);
  color: var(--darker);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.url-output {
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.3);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.transform-icon {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.transform-icon i {
  color: white;
  font-size: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  z-index: 2;
}

.transform-arrow {
  animation: floatDown 1.8s infinite ease-in-out;
}

.transform-compress {
  animation: pulseModernIcon 2s infinite ease-in-out;
}

@keyframes floatDown {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
  }
  50% { 
    transform: translateY(10px) rotate(5deg); 
  }
}

@keyframes pulseModernIcon {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
  }
  50% { 
    transform: scale(1.2) rotate(10deg); 
  }
}

/* Shortener Section - Modernized */
.shortener-section {
  padding: 3rem 0 5rem;
}

.shortener-card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.shortener-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.shorten-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-group {
  display: flex;
  gap: 1rem;
  position: relative;
}

.input-group input {
  flex: 1;
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.95);
  color: var(--darker);
  font-weight: 500;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
  background: white;
  transform: translateY(-2px);
}

.input-group input::placeholder {
  color: var(--gray);
}

.shorten-btn {
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* URL Preview - Modernized */
.url-preview {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.url-preview:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.preview-card {
  display: flex;
  flex-direction: column;
}

.preview-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
}

.preview-content {
  padding: 2rem;
}

.preview-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.favicon {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  border-radius: 4px;
}

.preview-domain {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 600;
}

.preview-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--darker);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
}

.preview-description {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.preview-url {
  font-size: 0.9rem;
  color: var(--primary);
  word-break: break-all;
  font-family: 'Fira Code', monospace;
}

.preview-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  flex-direction: column;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(99, 102, 241, 0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

/* Advanced Options - Modernized */
.advanced-options {
  margin-top: 1.5rem;
}

.toggle-options {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid transparent;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}

.toggle-options:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-dark);
  border-color: rgba(99, 102, 241, 0.3);
}

.toggle-options i {
  transition: var(--transition-fast);
}

.options-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 1.5rem;
}

.options-content.active {
  max-height: 400px;
  padding: 1.5rem;
  margin-top: 1rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-options.active .fa-chevron-down {
  transform: rotate(180deg);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--darker);
  font-size: 1.1rem;
}

.custom-code-input {
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-code-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.custom-code-input .prefix {
  padding: 1rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-dark);
  font-size: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.custom-code-input input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
  background: transparent;
  color: var(--darker);
  font-weight: 500;
}

.custom-code-input input::placeholder {
  color: var(--gray);
}

.hint {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 0.75rem;
  display: block;
  font-style: italic;
}

/* Result Box - Modernized */
.result-box {
  margin-top: 2.5rem;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-message {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--success);
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.success-message i {
  font-size: 2rem;
}

.result-url {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.result-url input {
  flex: 1;
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  font-size: 1.1rem;
  background: white;
  color: var(--darker);
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  transition: var(--transition);
}

.result-url input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.copy-btn {
  padding: 1.25rem 2rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.copy-btn.copied {
  background: linear-gradient(135deg, var(--success), #34d399);
}

.copy-btn.copied .btn-text::after {
  content: "Copied!";
}

.copy-btn.copied .fa-copy::before {
  content: "\f00c";
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.action-buttons .btn {
  flex: 1;
  min-width: 180px;
  padding: 1.125rem 2rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

.qr-section {
  text-align: center;
  padding: 2rem 0 0;
  border-top: 2px solid rgba(226, 232, 240, 0.8);
  margin-top: 2.5rem;
}

.qr-code-container {
  display: inline-block;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.qr-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.qr-actions .btn {
  padding: 1rem 1.75rem;
  border-radius: 14px;
  font-size: 1rem;
}

/* Features Section - Modernized */
.features-section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: white;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 3rem 2rem;
  border-radius: 20px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Design - Enhanced */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-illustration {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
    flex-wrap: wrap;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .shortener-card {
    padding: 2rem;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .shorten-btn {
    width: 100%;
  }
  
  .result-url {
    flex-direction: column;
  }
  
  .copy-btn {
    width: 100%;
  }
  
  .action-buttons, .qr-actions {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .main-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .feature-card {
    padding: 1.75rem 1.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .typing-demo-form,
  .url-transformation-demo {
    padding: 1.5rem;
  }
  
  .demo-input,
  .url-input,
  .url-output {
    padding: 1rem;
  }
}

/* Animations - Enhanced */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Intro Container Styling - Modernized */
.intro-container {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  padding: 0 1.5rem;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #ffffff; /* Warna putih */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 400;
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 0 2px;
}

.intro-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.5s ease;
}

.intro-text a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.intro-text a:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for intro text */
@media (max-width: 768px) {
  .intro-text {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  
  .intro-container {
    margin-bottom: 3rem;
  }
}

@media (max-width: 640px) {
  .intro-text {
    font-size: 1rem;
    padding: 1.25rem;
    line-height: 1.6;
  }
}