/* =====================================================
   TIMIPRO LANDING PAGE - STATIC CSS
   Design System: Dark mode, white text, blue #3079E6
   ===================================================== */

/* CSS Variables - Design Tokens */
:root {
  --background: hsl(220, 35%, 6%);
  --foreground: hsl(0, 0%, 100%);
  --card: hsl(220, 28%, 10%);
  --card-foreground: hsl(0, 0%, 100%);
  --popover: hsl(220, 32%, 8%);
  --popover-foreground: hsl(0, 0%, 100%);
  --primary: hsl(216, 79%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 28%, 14%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(220, 22%, 18%);
  --muted-foreground: hsl(0, 0%, 100%);
  --accent: hsl(216, 79%, 55%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(220, 30%, 20%);
  --input: hsl(220, 30%, 20%);
  --ring: hsl(216, 79%, 60%);
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Gradients */
.background-gradients {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gradient {
  position: absolute;
  border-radius: 50%;
}

.gradient-top-left {
  left: -8rem;
  top: -8rem;
  width: 500px;
  height: 500px;
  background: hsla(216, 79%, 55%, 0.15);
  filter: blur(120px);
}

.gradient-top-right {
  right: -6rem;
  top: 20%;
  width: 400px;
  height: 400px;
  background: hsla(216, 79%, 55%, 0.1);
  filter: blur(100px);
}

.gradient-center {
  left: 50%;
  top: 45%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: hsla(216, 79%, 55%, 0.08);
  filter: blur(150px);
}

.gradient-bottom-left {
  left: -5rem;
  bottom: 10%;
  width: 350px;
  height: 350px;
  background: hsla(216, 79%, 55%, 0.12);
  filter: blur(100px);
}

.gradient-bottom-right {
  right: -8rem;
  bottom: 0;
  width: 450px;
  height: 450px;
  background: hsla(216, 79%, 55%, 0.1);
  filter: blur(120px);
}

/* Section Container */
.timipro-section {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .timipro-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .timipro-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Glass Card */
.glass-card {
  background: hsla(220, 35%, 6%, 0.75);
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsla(220, 30%, 20%, 0.6);
  background: hsla(220, 35%, 6%, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 2.5rem;
  width: auto;
  top: 2px;
  position: relative;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: hsla(0, 0%, 100%, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.section {
  scroll-margin-top: 6rem;
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 8rem;
  }
}

/* Hero Section */
.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    padding: 4rem 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.8);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.8);
  width: fit-content;
}

.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.feature-pills {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-pills {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.75);
  backdrop-filter: blur(16px);
  padding: 0.75rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: hsla(216, 79%, 55%, 0.1);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.feature-description {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
}

.hero-card {
  position: relative;
}

.hero-orbit {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top left, hsla(216, 79%, 55%, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, hsla(216, 79%, 55%, 0.2), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-orbit > * {
  position: relative;
  z-index: 10;
}

.card-glow {
  position: absolute;
  right: -2rem;
  top: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: hsla(216, 79%, 55%, 0.4);
  filter: blur(48px);
}

/* Mockup Placeholders */
.mockup-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid hsla(220, 30%, 20%, 0.8);
  background: hsla(220, 35%, 6%, 0.8);
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Two Column Grid */
.two-column-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-column-grid.reverse .content-column {
    order: 2;
  }
  
  .two-column-grid.reverse .mockup-column {
    order: 1;
  }
}

.content-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-title.text-center {
  text-align: center;
}

.section-description {
  font-size: 0.875rem;
  line-height: 1.75;
  color: hsla(0, 0%, 100%, 0.9);
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1rem;
  }
}

/* Bullet Cards */
.bullet-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bullet-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.75);
  backdrop-filter: blur(16px);
  padding: 0.75rem;
}

.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.bullet-card p {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.9);
}

/* Icon Cards */
.icon-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.icon-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.75);
  backdrop-filter: blur(16px);
  padding: 0.75rem;
}

.icon-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.icon-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.icon-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.icon-card-subtitle {
  font-size: 0.75rem;
  color: var(--foreground);
}

/* Section CTA */
.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Mockup Column */
.mockup-column {
  position: relative;
}

.mockup-column .glass-card {
  padding: 1.5rem;
}

.mockup-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.phone-mockup {
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  border: 1px solid hsla(220, 30%, 20%, 0.8);
  background: hsla(220, 35%, 6%, 0.8);
}

.phone-large {
  width: 6rem;
}

.phone-small {
  width: 5rem;
}

/* App Mockups */
.app-mockups {
  display: none;
  gap: 1rem;
}

@media (min-width: 768px) {
  .app-mockups {
    display: flex;
  }
}

.phone-mockup-app {
  flex: 1;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  border: 1px solid hsla(220, 30%, 20%, 0.8);
  background: hsla(220, 35%, 6%, 0.8);
}

/* App Buttons */
.app-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
  background: hsl(216, 79%, 50%);
}

.btn-glass {
  background: hsla(220, 35%, 6%, 0.3);
  backdrop-filter: blur(16px);
  border: 1px solid hsla(220, 30%, 20%, 0.5);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-glass:hover {
  background: hsla(220, 35%, 6%, 0.5);
}

.btn-full {
  width: 100%;
}

.store-icon {
  width: 1rem;
  height: 1rem;
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.2s;
}

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

.hover-glow {
  transition: all 0.3s;
}

.hover-glow:hover {
  box-shadow: 0 0 20px hsla(216, 79%, 55%, 0.5), 0 0 40px hsla(216, 79%, 55%, 0.25);
}

/* Partners Section */
.partners-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

.partners-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .partners-logos {
    gap: 2.5rem;
  }
}

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 3rem;
  border-radius: 0.5rem;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.8);
  padding: 0.5rem;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.contact-card {
  max-width: 36rem;
  width: 100%;
  padding: 1.5rem;
}

.contact-description {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 1rem;
}

.contact-email-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.email-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsla(0, 0%, 100%, 0.7);
  text-align: left;
}

.email-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  border: 1px solid hsla(220, 30%, 20%, 0.7);
  background: hsla(220, 35%, 6%, 0.7);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  border-top: 1px solid hsla(220, 30%, 20%, 0.6);
  background: hsla(220, 35%, 6%, 0.8);
  backdrop-filter: blur(24px);
}

.footer-content {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-description {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-link-btn {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: color 0.2s;
}

.footer-link-btn:hover {
  color: var(--primary);
}

.footer-copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(220, 30%, 20%, 0.4);
  text-align: center;
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.6);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  max-width: 42rem;
  max-height: 80vh;
  width: 100%;
  overflow-y: auto;
  padding: 1.5rem;
}

.modal-header {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.modal-subtitle {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
  margin-top: 0.25rem;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: hsla(0, 0%, 100%, 0.7);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--foreground);
}

.modal-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: hsla(0, 0%, 100%, 0.9);
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.25rem;
}

/* Video Cards */
.video-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsla(220, 30%, 20%, 0.8);
  background: hsla(220, 35%, 6%, 0.8);
}

.section-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-enter {
  animation: enter 0.5s ease-out forwards;
}

@media screen and (max-width: 500px) {
  .nav-container {
    justify-content: center;
  }
  .hero-grid {
    padding:  0 0 2.5rem;
  }
  .footer-content {
    padding: 3rem 2rem;
  }
}