/* ============================================================================
   SimpliNail Landing Page - Global Styles
   Style 3 Brand System
   ============================================================================ */

/* ============================================================================
   CSS Variables - Style 3 Brand Colors & Typography
   ============================================================================ */
:root {
  /* Colors */
  --color-fresh-red: #FF4D5A;
  --color-matcha-green: #7ED7A6;
  --color-playful-pink: #FF9ECF;
  --color-electric-lavender: #9B8CFF;
  
  /* Neutrals */
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-medium-gray: #E8E8E8;
  --color-dark-gray: #333333;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #666666;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-weight-semibold: 600;
  --font-weight-regular: 400;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-fresh-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: darken(var(--color-fresh-red), 10%);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

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

.btn:active {
  transform: translateY(0);
}

/* Primary Button - Fresh Red */
.btn-primary {
  background-color: var(--color-fresh-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #FF3845;
}

/* Secondary Button - Outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-fresh-red);
  border: 2px solid var(--color-fresh-red);
}

.btn-secondary:hover {
  background-color: rgba(255, 77, 90, 0.1);
  border-color: #FF3845;
  color: #FF3845;
}

/* Ghost Button - No fill */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-medium-gray);
}

.btn-ghost:hover {
  background-color: var(--color-light-gray);
  border-color: var(--color-dark-gray);
}

/* Small button variant */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.875rem;
}

/* Large button variant */
.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

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

.section {
  padding: var(--spacing-3xl) 0;
}

.section-light {
  background-color: var(--color-light-gray);
}

.section-accent {
  background-color: rgba(126, 215, 166, 0.05);
}

/* ============================================================================
   Header & Navigation
   ============================================================================ */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-medium-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-fresh-red);
  font-family: var(--font-heading);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

nav a:hover {
  color: var(--color-fresh-red);
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
  min-height: calc(100vh - 80px);
}

.hero-content h1 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.hero-trust-line {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-image {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(126, 215, 166, 0.1) 0%, rgba(155, 140, 255, 0.1) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   Features Section
   ============================================================================ */
.features-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-fresh-red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 77, 90, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-card h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================================
   Who It's For Section
   ============================================================================ */
.who-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.who-card {
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, #F5F5F5 0%, var(--color-light-gray) 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.who-card h3 {
  color: var(--color-fresh-red);
  margin-bottom: var(--spacing-md);
}

.who-card p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

/* ============================================================================
   Open by Design Section
   ============================================================================ */
.open-design {
  text-align: center;
}

.open-design h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.open-design-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================================
   Pricing Section
   ============================================================================ */
.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.pricing-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.pricing-card {
  padding: var(--spacing-2xl);
  border: 2px solid var(--color-medium-gray);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  background-color: var(--color-white);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-fresh-red);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-fresh-red);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-fresh-red);
  color: var(--color-white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none;
}

.pricing-card.featured .pricing-badge {
  display: block;
}

.pricing-card h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.pricing-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-lg);
  min-height: 40px;
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: var(--spacing-lg);
}

.pricing-features {
  list-style: none;
  text-align: left;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-medium-gray);
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.pricing-features li::before {
  content: "✓";
  color: var(--color-matcha-green);
  font-weight: bold;
  flex-shrink: 0;
}

/* ============================================================================
   Closing CTA Section
   ============================================================================ */
.closing-cta {
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.closing-cta h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.closing-cta-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.8;
}

/* ============================================================================
   Footer
   ============================================================================ */
footer {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0;
  margin-top: var(--spacing-3xl);
}

footer a {
  color: var(--color-fresh-red);
}

footer a:hover {
  color: #FF3845;
}

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

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

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   Responsive Design - Mobile First
   ============================================================================ */

@media (max-width: 768px) {
  :root {
    --spacing-3xl: 3rem;
    --spacing-2xl: 2rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
  }
  
  .hero-image {
    height: 300px;
    order: -1;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  nav ul {
    gap: var(--spacing-md);
    font-size: 0.85rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .who-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  nav ul {
    gap: var(--spacing-sm);
  }
  
  .hero-cta-group {
    gap: var(--spacing-sm);
  }
  
  .hero-subheadline {
    font-size: 1rem;
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
}

/* ============================================================================
   Utility Classes
   ============================================================================ */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-fresh-red);
}

.text-success {
  color: var(--color-matcha-green);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.hidden {
  display: none;
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
  animation: slideUp 0.6s ease-in-out;
}

/* ============================================================================
   Services Section
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.service-card {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 77, 90, 0.08) 0%, rgba(255, 107, 69, 0.06) 100%);
  z-index: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
  border-color: var(--color-fresh-red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #FF4D5A 0%, #FF6B45 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--spacing-md) auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(255, 77, 90, 0.3);
  transition: transform var(--transition-base);
  padding: 12px;
  overflow: hidden;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotateZ(-2deg);
}

.service-icon-pos {
  background: linear-gradient(135deg, #00D084 0%, #00A366 100%);
  box-shadow: 0 8px 16px rgba(0, 208, 132, 0.25);
}

.service-icon-booking {
  background: linear-gradient(135deg, #0085FF 0%, #0066CC 100%);
  box-shadow: 0 8px 16px rgba(0, 133, 255, 0.25);
}

.service-icon-crm {
  background: linear-gradient(135deg, #9B59B6 0%, #7D3C98 100%);
  box-shadow: 0 8px 16px rgba(155, 89, 182, 0.25);
}

.service-icon-staff {
  background: linear-gradient(135deg, #F39C12 0%, #D68910 100%);
  box-shadow: 0 8px 16px rgba(243, 156, 18, 0.25);
}

.service-icon-inventory {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
  box-shadow: 0 8px 16px rgba(231, 76, 60, 0.25);
}

.service-icon-loyalty {
  background: linear-gradient(135deg, #FF4D5A 0%, #FF6B45 100%);
  box-shadow: 0 8px 16px rgba(255, 77, 90, 0.25);
}

.service-icon-website {
  background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
  box-shadow: 0 8px 16px rgba(26, 188, 156, 0.25);
}

.service-icon-giftcard {
  background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.35);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

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


/* ============================================================================
   Gradient Cards — Brand v2 (Section 8 Component)
   Inspired by Zenoti's soft pastel category cards
   ============================================================================ */
.gradient-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.gradient-card {
  padding: 32px;
  border-radius: 20px;
  border: none;
  transition: all var(--transition-base);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.gradient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gradient-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-near-black);
  margin-bottom: 0.75rem;
}

.gradient-card p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.gradient-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 20px;
  transition: gap var(--transition-fast);
}

.gradient-card-link:hover {
  gap: 8px;
  color: var(--color-primary-hover);
}

/* Card Variants */
.gradient-card--salon-owners {
  background: var(--gradient-salon-owners);
}

.gradient-card--nail-techs {
  background: var(--gradient-nail-techs);
}

.gradient-card--operations {
  background: var(--gradient-operations);
}

.gradient-card--analytics {
  background: var(--gradient-analytics);
}

@media (max-width: 1024px) {
  .gradient-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gradient-cards-grid {
    grid-template-columns: 1fr;
  }
}
