/* GoDrive Landing Page Styles */
/* Based on Brand Guidelines - February 2026 */

:root {
  /* Primary Colors */
  --gd-primary-dark: #0033A1;
  --gd-primary: #3386E9;
  --gd-primary-light: #BDDBFF;

  /* Secondary Colors */
  --gd-secondary-dark: #350E71;
  --gd-secondary: #4C00BF;
  --gd-secondary-light: #A66FF8;
  --gd-lavender: #9D70DF;

  /* Neutrals */
  --gd-grey-10: #F3F6F9;
  --gd-grey-30: #E5EAEE;
  --gd-grey-60: #80808F;
  --gd-grey-70: #464E5F;

  /* Gradients */
  --gd-gradient-primary: linear-gradient(135deg, #8303BF 0%, #4E00BF 100%);
  --gd-gradient-hero: linear-gradient(135deg, #F3F6F9 0%, #BDDBFF 100%);
  --gd-gradient-cta: linear-gradient(135deg, #0033A1 0%, #3386E9 100%);

  /* Shadows */
  --gd-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --gd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --gd-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --gd-shadow-primary: 0 4px 15px rgba(51, 134, 233, 0.3);
  --gd-shadow-secondary: 0 4px 15px rgba(76, 0, 191, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body.landing-page {
  font-family: 'Lato', 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gd-grey-70);
  background: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--gd-primary-dark);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
  margin: 0 0 1rem;
}

/* Container */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--gd-shadow-md);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  transition: height 0.3s ease;
}

.landing-nav.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--gd-grey-70);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gd-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gd-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gd-gradient-primary);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--gd-shadow-secondary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 0, 191, 0.4);
}

.nav-cta::after {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gd-grey-70);
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: var(--gd-gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50h100M50 0v100M25 0v100M75 0v100M0 25h100M0 75h100' stroke='%230033A1' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content h1 span {
  background: var(--gd-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gd-grey-70);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.store-btn svg {
  width: 28px;
  height: 28px;
}

.store-btn .store-text {
  text-align: left;
}

.store-btn .store-text small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.store-btn .store-text strong {
  display: block;
  font-size: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-phone {
  position: relative;
  z-index: 2;
}

.phone-mockup {
  width: 280px;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 25px 50px rgba(0, 51, 161, 0.25);
  animation: float 4s ease-in-out infinite;
}

.hero-car {
  position: absolute;
  bottom: -20px;
  right: -60px;
  width: 200px;
  animation: float 3s ease-in-out infinite;
  animation-delay: -1.5s;
  z-index: 1;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--gd-gradient-primary);
  opacity: 0.1;
}

.hero-decoration.d1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.hero-decoration.d2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gd-grey-60);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--gd-shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--gd-shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gd-grey-60);
  margin: 0;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-section {
  padding: 100px 0;
  background: var(--gd-gradient-primary);
  position: relative;
  overflow: hidden;
}

.how-section .section-header h2,
.how-section .section-header p {
  color: white;
}

.how-section .section-header p {
  opacity: 0.9;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 700;
  color: var(--gd-secondary);
  box-shadow: var(--gd-shadow-lg);
}

.step-item h3 {
  color: white;
  margin-bottom: 8px;
}

.step-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0;
}

/* Floating clouds decoration */
.cloud {
  position: absolute;
  background: linear-gradient(135deg, rgba(51, 134, 233, 0.3) 0%, rgba(166, 111, 248, 0.3) 100%);
  border-radius: 100px;
  opacity: 0.5;
}

.cloud.c1 {
  width: 200px;
  height: 60px;
  top: 20%;
  left: -50px;
  animation: drift 8s ease-in-out infinite;
}

.cloud.c2 {
  width: 150px;
  height: 45px;
  top: 60%;
  right: -30px;
  animation: drift 10s ease-in-out infinite reverse;
}

/* ===== DRIVER SECTION ===== */
.driver-section {
  padding: 100px 0;
  background: var(--gd-grey-10);
  position: relative;
}

.driver-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.driver-image {
  position: relative;
}

.driver-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--gd-shadow-lg);
}

.driver-content h2 {
  color: var(--gd-secondary);
  margin-bottom: 1rem;
}

.driver-content > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.125rem;
}

.benefits-list li svg {
  width: 24px;
  height: 24px;
  color: var(--gd-primary);
  flex-shrink: 0;
}

.btn-driver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gd-secondary) 0%, var(--gd-secondary-dark) 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--gd-shadow-secondary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-driver:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 0, 191, 0.4);
  color: white;
}

.btn-driver svg {
  width: 20px;
  height: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 100px 0;
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--gd-shadow-md);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--gd-lavender);
  fill: var(--gd-lavender);
}

.testimonial-text {
  font-style: italic;
  color: var(--gd-grey-70);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gd-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.author-info strong {
  display: block;
  color: var(--gd-primary-dark);
}

.author-info span {
  font-size: 14px;
  color: var(--gd-grey-60);
}

/* ===== FINAL CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: var(--gd-gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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%3Cpath d='M30 10L35 25H45L37 33L40 48L30 40L20 48L23 33L15 25H25L30 10Z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .store-btn {
  background: white;
  color: var(--gd-primary-dark);
}

.cta-buttons .store-btn svg {
  fill: var(--gd-primary-dark);
}

/* ===== FOOTER ===== */
.landing-footer {
  background: var(--gd-primary-dark);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
}

.admin-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-link:hover {
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes drift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(30px);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-content p {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
  }

  .hero-car {
    width: 150px;
    right: -40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-container::before {
    display: none;
  }

  .driver-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .driver-image {
    order: -1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--gd-shadow-lg);
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .store-btn {
    width: 100%;
    max-width: 280px;
  }
}
