/* QuickFlipBook - Modern SaaS Style Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;600;700;800&display=swap');

:root {
  --primary: #4f46e5;      /* Indigo */
  --primary-hover: #4338ca;
  --secondary: #06b6d4;    /* Cyan */
  --accent: #2563eb;       /* Modern Blue */
  --dark: #0f172a;         /* Slate 900 */
  --dark-light: #1e293b;   /* Slate 800 */
  --light: #f8fafc;        /* Slate 50 */
  --muted: #64748b;        /* Slate 500 */
  --white: #ffffff;
  --border: #e2e8f0;       /* Slate 200 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-indigo: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-light);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, textarea {
  font-family: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: var(--shadow-indigo);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--light);
  border-color: var(--muted);
  transform: translateY(-2px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .nav-container {
  height: 64px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item svg {
  color: var(--secondary);
}

/* Interactive Flipbook Visual (Mockup) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.flipbook-demo {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1500px;
}

.fb-page {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fb-page-left {
  left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: none;
  background: linear-gradient(90deg, #fbfbfb 0%, #ffffff 95%, #eaeaea 100%);
  transform-origin: right center;
}

.fb-page-right {
  left: 50%;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-left: none;
  background: linear-gradient(270deg, #fbfbfb 0%, #ffffff 95%, #eaeaea 100%);
  transform-origin: left center;
}

.fb-page-flipping {
  z-index: 10;
}

/* Animations of flipping page */
@keyframes pageFlip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-90deg);
  }
  100% {
    transform: rotateY(-180deg);
  }
}

.flip-animation {
  animation: pageFlip 2s ease-in-out infinite alternate;
}

.fb-content-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.fb-title {
  height: 14px;
  background: #e2e8f0;
  border-radius: 4px;
  width: 70%;
}

.fb-text {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  width: 100%;
}

.fb-text-short {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  width: 50%;
}

.fb-image {
  flex-grow: 1;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 4px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-image svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.fb-shadow-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(0,0,0,0.15);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 100;
}

/* Section Header */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 70, 229, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
}

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

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.service-link svg {
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* How It Works Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}

.step-card {
  position: relative;
  text-align: center;
  background: transparent;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-indigo);
  border: 4px solid var(--white);
  z-index: 2;
  position: relative;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.925rem;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-feature-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.why-feature-card h4 {
  font-size: 1.1rem;
  margin: 12px 0 8px 0;
}

.why-feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info-card p {
  color: #94a3b8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-detail-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-item a, .contact-detail-item span {
  font-size: 1.1rem;
  color: #e2e8f0;
}

.contact-detail-item a:hover {
  color: var(--secondary);
}

.contact-form-container {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

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

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--light);
  color: var(--dark);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--dark-light);
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--dark-light);
  font-size: 0.875rem;
}

/* Privacy Policy Layout Specifics */
.policy-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-bottom: 1px solid var(--border);
}

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

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.policy-section p {
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 1rem;
}

.policy-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--dark-light);
}

.policy-section li {
  margin-bottom: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-grid, .why-grid, .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 120px 0 60px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .why-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-card {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Mobile Menu navigation overlay style */
  .mobile-menu-toggle {
    display: block;
    color: var(--dark);
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 24px 40px 24px;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 20px 0 40px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-menu.open {
    left: 0;
  }

  /* Overlay behind mobile menu */
  .nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-cta {
    margin-left: 0;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .policy-container {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
  
  .contact-info-card, .contact-form-container {
    padding: 24px;
  }
}

