/* ==========================================================================
   Padchi Pe - Modern Responsive Web Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0073FF;
  --primary-hover: #005ECC;
  --primary-light: #EBF4FF;
  --primary-glow: rgba(0, 115, 255, 0.2);
  
  --secondary: #0F172A;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --success: #10B981;
  --success-bg: #ECFDF5;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --warning: #F59E0B;
  
  --border-color: #E2E8F0;
  --border-focus: #3B82F6;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px -8px rgba(0, 115, 255, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
  
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-app-name: 'Montserrat Alternates', 'Montserrat', sans-serif;
  --max-w: 1200px;
  --nav-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
}

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

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

button, input, textarea, select {
  font-family: var(--font-main);
  font-size: inherit;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00C2FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-font {
  font-family: var(--font-app-name);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

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

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-app-name);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 115, 255, 0.22);
  object-fit: contain;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 115, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 115, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main) !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
}

.btn-danger {
  background: var(--danger);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: #DC2626;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 54px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 115, 255, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 115, 255, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 115, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 115, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 115, 255, 0); }
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

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

.trust-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Phone Mockup Frame */
.mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 310px;
  max-width: 100%;
  background: #0F172A;
  border-radius: 38px;
  padding: 6px;
  box-shadow: 0 25px 60px -15px rgba(0, 115, 255, 0.25),
              0 12px 28px -10px rgba(15, 23, 42, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  border: 2px solid #334155;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 70px -12px rgba(0, 115, 255, 0.35),
              0 16px 35px -8px rgba(15, 23, 42, 0.3);
}

.app-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  background: #FFFFFF;
}

/* Section Shared Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px auto;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 88px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How It Works Steps */
.steps-section {
  padding: 88px 0;
  background: var(--bg-subtle);
}

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

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 115, 255, 0.3);
}

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

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

/* Security & Encryption Section */
.security-section {
  padding: 88px 0;
  background: #FFFFFF;
}

.security-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.security-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.security-box p {
  color: #94A3B8;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.security-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.security-checks svg {
  color: #10B981;
  flex-shrink: 0;
}

.security-badge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.security-badge-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-section {
  padding: 88px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* CTA Banner */
.cta-section {
  padding: 40px 0 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #0056BD 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

/* Inquiry Form Section */
.inquiry-section {
  padding: 88px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.inquiry-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

/* Policy & Legal Pages Styling */
.policy-page {
  padding-bottom: 80px;
}

.policy-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: calc(var(--nav-height) + 36px) 0 36px 0;
  margin-bottom: 40px;
  text-align: center;
}

.policy-header h1 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.policy-header .effective-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.policy-content {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.policy-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.policy-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.policy-content p, .policy-content li {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-content ul, .policy-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-alert-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.policy-alert-box.danger {
  background: var(--danger-bg);
  border-left-color: var(--danger);
}

/* Deletion Form Box */
.deletion-form-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.success {
  background: var(--success-bg);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  background: var(--danger-bg);
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Footer */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px 0;
  border-top: 1px solid #1E293B;
}

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

.footer-brand h3 {
  color: #FFFFFF;
  font-family: var(--font-app-name);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-col a {
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .security-box {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .policy-content {
    padding: 24px 20px;
  }
  
  .deletion-form-container {
    padding: 24px 18px;
  }
}
