/* Premium KAPRI Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --ocean-500: #0CBFE6;
  --ocean-600: #009CC4;
  --brand-500: #00B4DB;
  --brand-600: #0083B0;
  --accent-500: #00A86B;
  --dark: #0F172A;
  --gray-100: #F1F5F9;
  --gray-800: #1E293B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--ocean-600) 0%, var(--brand-500) 50%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFF 40%, #E0FAFE 70%, #F0FFF4 100%);
  position: relative;
  display: flex;
  align-items: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--ocean-500);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-500);
  bottom: 20%;
  left: 5%;
  animation-delay: -4s;
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ocean-500), var(--brand-600));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0, 180, 219, 0.4);
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}

.logo-domain {
  color: var(--ocean-600);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--ocean-500), var(--brand-600));
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(0, 180, 219, 0.4);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(0, 180, 219, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: white;
  color: var(--gray-800);
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid #E2E8F0;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--ocean-500);
  background: #F0FDFF;
}

/* Hero Content */
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text .slogan {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ocean-600);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: #64748B;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.user-avatars {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatars-group {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-1 { background: linear-gradient(135deg, #0CBFE6, #0083B0); }
.avatar-2 { background: linear-gradient(135deg, #00A86B, #008B8B); }
.avatar-3 { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.avatar-more { background: #F1F5F9; color: #64748B; }

/* Phone Mockup */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  background: #0F172A;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0F172A;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  background: linear-gradient(180deg, #F0FDFF 0%, #FFFFFF 100%);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/19;
}

.phone-content {
  padding: 3rem 1.5rem 1.5rem;
  height: 100%;
}

.phone-card {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.phone-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.phone-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #E0F7FA, #B2EBF2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ocean-600);
}

.phone-map {
  height: 100px;
  background: linear-gradient(135deg, #E0F7FA, #F0FFF4);
  border-radius: 12px;
  position: relative;
}

.phone-map::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--ocean-500);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(12, 191, 230, 0.3);
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.phone-stat {
  background: white;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.phone-stat-label {
  font-size: 0.625rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.phone-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ocean-600);
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float-card 6s ease-in-out infinite;
}

.float-card-left {
  left: -2rem;
  top: 30%;
  animation-delay: 0s;
}

.float-card-right {
  right: -2rem;
  bottom: 25%;
  animation-delay: -3s;
}

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

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon.blue {
  background: linear-gradient(135deg, #0CBFE6, #0083B0);
}

.float-icon.green {
  background: linear-gradient(135deg, #00A86B, #008B8B);
}

.float-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.float-text {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 0.125rem;
}

.float-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* Stats Section */
.stats {
  padding: 5rem 1.5rem;
  background: white;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ocean-600), var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #64748B;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #E0F7FA;
  color: var(--ocean-700);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748B;
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #F1F5F9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 180, 219, 0.2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.feature-icon.ocean {
  background: linear-gradient(135deg, #0CBFE6, #0083B0);
  box-shadow: 0 10px 30px -10px rgba(12, 191, 230, 0.4);
}

.feature-icon.green {
  background: linear-gradient(135deg, #00A86B, #008B8B);
  box-shadow: 0 10px 30px -10px rgba(0, 168, 107, 0.4);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #00B4DB, #006080);
  box-shadow: 0 10px 30px -10px rgba(0, 180, 219, 0.4);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.4);
}

.feature-icon.orange {
  background: linear-gradient(135deg, #F97316, #EA580C);
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.4);
}

.feature-icon.pink {
  background: linear-gradient(135deg, #EC4899, #DB2777);
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.4);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: #64748B;
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, #0CBFE6 0%, #00B4DB 50%, #00A86B 100%);
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--ocean-600);
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ocean-500), var(--brand-600));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.footer-desc {
  color: #64748B;
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--ocean-400);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: #64748B;
  font-size: 0.875rem;
}

.footer-made {
  color: #64748B;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text p {
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .user-avatars {
    justify-content: center;
  }
  
  .phone-mockup {
    order: -1;
  }
  
  .phone {
    width: 260px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
}
