/* ============================================
   VIREEEL - Static Website Styles
   ============================================ */

/* CSS Variables */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-text {
  color: var(--dark);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

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

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.apple-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--dark-light);
  border-radius: 32px;
  overflow: hidden;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview-header {
  display: flex;
  gap: 6px;
  padding: 16px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  background: var(--gray-500);
  border-radius: 50%;
}

.preview-content {
  flex: 1;
  padding: 8px;
}

.gif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.gif-item {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  animation: pulse 2s ease-in-out infinite;
}

.gif-item:nth-child(2) {
  animation-delay: 0.5s;
}

.gif-item:nth-child(3) {
  animation-delay: 1s;
}

.gif-item:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

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

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 36px;
}

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

.cta .btn-primary:hover {
  background: var(--gray-100);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 60px 0 30px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

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

.footer-brand p {
  color: var(--gray-500);
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 16px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

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

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */

.page-header {
  padding: 140px 0 60px;
  background: var(--gray-100);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
}

/* ============================================
   CONTENT SECTION (for inner pages)
   ============================================ */

.content-section {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--dark);
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--dark);
}

.content-wrapper p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 16px 0 24px 24px;
  color: var(--gray-600);
}

.content-wrapper li {
  margin-bottom: 12px;
  line-height: 1.7;
  list-style: disc;
}

.content-wrapper ol li {
  list-style: decimal;
}

.content-wrapper a {
  color: var(--primary);
}

.content-wrapper a:hover {
  text-decoration: underline;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-method h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-method p {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.9375rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  padding: 140px 0 80px;
  background: var(--gray-100);
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-graphic {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.8;
}

.values-section {
  padding: 100px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 32px;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 24px;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

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

  .hero-content {
    max-width: 100%;
  }

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

  .phone-mockup {
    transform: none;
    width: 240px;
    height: 500px;
  }

  .about-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .page-header h1 {
    font-size: 2.25rem;
  }

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

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

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  .phone-mockup {
    width: 200px;
    height: 420px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   MOBILE MENU ANIMATION
   ============================================ */

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FAQ ITEMS
   ============================================ */

.faq-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.faq-item a {
  color: var(--primary);
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ============================================
   CONTACT LINKS
   ============================================ */

.contact-link {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--gray-100);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   LAST UPDATED (TOP)
   ============================================ */

.last-updated {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 0;
  margin-bottom: 32px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
}

.content-wrapper h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

/* ============================================
   NAVBAR SCROLLED STATE
   ============================================ */

.navbar.scrolled {
  box-shadow: var(--shadow);
}
