/* Totokart Styles */

/* Base Styles */
:root {
  --color-emerald-400: #34d399;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-gray-900);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.5rem 1rem;
}

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

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

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

.logo {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.header-cta {
  background-color: var(--color-emerald-500);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
  display: none;
}

.header-cta:hover {
  background-color: var(--color-emerald-600);
}

@media (min-width: 640px) {
  .header-cta {
    display: block;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem;
}

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

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

.hero-gradient {
  background: radial-gradient(circle at 30% 10%, rgba(34, 197, 94, 0.1), transparent 40%), 
              radial-gradient(circle at 80% 90%, rgba(245, 158, 11, 0.1), transparent 40%);
}

.hero-content {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-headline {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

.hero-headline span {
  display: block;
  color: var(--color-emerald-400);
}

.hero-subheadline {
  font-size: 1.125rem;
  color: var(--color-gray-300);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

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

.download-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .download-buttons {
    flex-direction: row;
  }
}

.download-button {
  background-color: var(--color-gray-800);
  border: 1px solid var(--color-gray-600);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .download-button {
    width: auto;
  }
}

.download-button:hover {
  background-color: var(--color-gray-700);
}

.download-button svg,
.cta-button-primary svg,
.cta-button-secondary svg {
  width: 2rem;
  height: 2rem;
  margin-right: 0.75rem;
}

/* SVG Icon Styles */
.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.download-button-text small {
  font-size: 0.75rem;
  color: var(--color-gray-400);
}

.download-button-text strong {
  font-size: 1.125rem;
  font-weight: 600;
  display: block;
  margin-top: -0.25rem;
}

.trust-signal {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 1rem;
  background-color: var(--color-gray-900);
}

@media (min-width: 640px) {
  .benefits-section {
    padding: 8rem 1.5rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

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

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-gray-400);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.benefit-card {
  background-color: var(--color-gray-800);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s;
}

.benefit-card:hover {
  background-color: var(--color-gray-700);
  transform: scale(1.05);
}

.benefit-icon {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--color-emerald-400);
  border-radius: 9999px;
  height: 4rem;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  width: 2rem;
  height: 2rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-description {
  color: var(--color-gray-400);
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .how-it-works-section {
    padding: 8rem 1.5rem;
  }
}

.steps-container {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}

.step {
  position: relative;
  padding: 0 1rem;
}

.step-number {
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--color-gray-700);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-emerald-400);
}

.step-description {
  color: var(--color-gray-400);
}

/* Final CTA Section */
.final-cta-section {
  padding: 5rem 1rem;
  background-color: var(--color-gray-800);
}

@media (min-width: 640px) {
  .final-cta-section {
    padding: 8rem 1.5rem;
  }
}

.cta-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .cta-content {
    text-align: left;
  }
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-gray-400);
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .cta-buttons {
    justify-content: flex-start;
  }
}

.cta-button-primary {
  background-color: var(--color-emerald-500);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .cta-button-primary {
    width: auto;
  }
}

.cta-button-primary:hover {
  background-color: var(--color-emerald-600);
}

.cta-button-secondary {
  background-color: var(--color-white);
  color: var(--color-gray-900);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .cta-button-secondary {
    width: auto;
  }
}

.cta-button-secondary:hover {
  background-color: #e5e7eb; /* gray-200 */
}

.app-screenshot {
  display: flex;
  justify-content: center;
}

.app-screenshot img {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 350px;
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--color-gray-900);
  border-top: 1px solid var(--color-gray-800);
}

.footer-container {
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
    margin-bottom: 0;
  }
}

.footer-brand h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--color-gray-400);
  margin-top: 0.5rem;
}

.footer-links h3 {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.footer-links ul {
  margin-top: 1rem;
  list-style-type: none;
}

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

.footer-links a {
  color: var(--color-gray-300);
  transition: color 0.3s;
}

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

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--color-gray-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.copyright {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .social-icons {
    margin-top: 0;
  }
}

.social-icon {
  color: var(--color-gray-500);
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--color-white);
}

.social-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

/* Coming Soon Label */
.coming-soon-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-emerald-400);
  background-color: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-left: 0.75rem;
  vertical-align: middle;
  display: inline-block;
  letter-spacing: 0.025em;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

@media (max-width: 640px) {
  .coming-soon-label {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-left: 0.5rem;
  }
}

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* Responsive Hero Flex */
.hero-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.hero-image img {
  max-width: 120%;
  height: auto;
  max-height: 600px;
  transform: rotate(5deg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* On screens >= 640px, switch to row layout */
@media (min-width: 640px) {
  .hero-flex {
    flex-direction: row;
    align-items: center;
  }
  .hero-content, .hero-image {
    flex: 1;
  }
}