/* 
   SIGMA KEY TECH - Premium Stylesheet
   Color Palette:
   - Primary Blue: #008be5 / #054f9a
   - Accent Orange: #f95c19 / #d43b00
   - Dark Indigo: #070e1b / #0d1b2a
   - Grey / White: #f8f9fa / #e9ecef
*/

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

:root {
  --color-primary: #008be5;
  --color-primary-dark: #054f9a;
  --color-primary-rgb: 0, 139, 229;
  --color-accent: #f95c19;
  --color-accent-dark: #d43b00;
  --color-bg-dark: #070e1b;
  --color-bg-card-dark: #0f1c30;
  --color-text-dark: #f8f9fa;
  --color-bg-light: #f8fafc;
  --color-bg-card-light: #ffffff;
  --color-text-light: #1e293b;
  --color-text-muted: #64748b;
  --color-border-light: #e2e8f0;
  --color-border-dark: #1e293b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --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);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Dark Theme overrides for specific sections */
.theme-dark-section {
  background-color: var(--color-bg-dark);
  color: var(--color-text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: var(--transition-fast);
}

.header-dark {
  background: rgba(7, 14, 27, 0.85);
  border-bottom: 1px solid var(--color-border-dark);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--color-primary-dark);
}

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

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

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

nav ul li a {
  font-weight: 500;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.nav-dark ul li a {
  color: rgba(255, 255, 255, 0.8);
}

nav ul li a:hover,
.nav-dark ul li a:hover {
  color: var(--color-accent);
}

.nav-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.header-dark .mobile-nav-toggle span {
  background-color: var(--color-text-dark);
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 139, 229, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(249, 92, 25, 0.08) 0%, transparent 40%),
              var(--color-bg-light);
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(0, 139, 229, 0.1);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 139, 229, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--color-text-light);
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 139, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 139, 229, 0.45);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-text-light);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text-light);
}

/* App Mockup Graphic styling */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: #0f172a;
  border: 10px solid #334155;
  border-radius: 40px;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 139, 229, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #334155;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 100;
}

.phone-screen {
  flex: 1;
  background: #070e1b;
  display: flex;
  flex-direction: column;
  padding: 35px 16px 16px 16px;
  font-family: var(--font-body);
  color: #fff;
  overflow-y: auto;
}

/* Mockup UI Inner Styling */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mock-logo {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  background: #fff;
}

.mock-profile {
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
}

.mock-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}

.mock-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.mock-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

.mock-status-text {
  font-size: 1rem;
  font-weight: 700;
}

.mock-status-time {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: auto;
}

.mock-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-history-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.mock-history-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mock-notice {
  padding: 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.mock-notice-academic {
  background: rgba(0, 139, 229, 0.15);
  border-left: 3px solid var(--color-primary);
}

.mock-notice-event {
  background: rgba(16, 185, 129, 0.15);
  border-left: 3px solid #10b981;
}

.mock-notice-emergency {
  background: rgba(239, 68, 68, 0.15);
  border-left: 3px solid #ef4444;
  animation: border-flash 1.5s infinite alternate;
}

.mock-notice-title {
  font-weight: 700;
  margin-bottom: 2px;
}

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

@keyframes border-flash {
  from { border-left-color: #ef4444; }
  to { border-left-color: #ff8888; }
}

/* Features Grid Section */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  color: var(--color-text-light);
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

.section-title-white {
  color: #fff;
}

.section-desc {
  max-width: 600px;
  margin: 15px auto 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.feature-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-md);
  background: rgba(0, 139, 229, 0.08);
  color: var(--color-primary);
  font-size: 1.75rem;
}

.feature-card:nth-child(2) .feature-icon-box {
  background: rgba(249, 92, 25, 0.08);
  color: var(--color-accent);
}

.feature-card:nth-child(3) .feature-icon-box {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.feature-card h3 {
  color: var(--color-text-light);
  font-size: 1.35rem;
}

/* System Integration (Portal Sync) Section */
.integration {
  background: radial-gradient(circle at 10% 20%, rgba(5, 79, 154, 0.95), rgba(7, 14, 27, 0.99));
  color: #fff;
  overflow: hidden;
}

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

.integration-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.integration-content p {
  color: #94a3b8;
}

.integration-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

/* RFID Portal Connection Animation */
.network-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.network-node {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  color: #e2e8f0;
}

.node-rfid { border-color: rgba(249, 92, 25, 0.4); }
.node-server { border-color: rgba(0, 139, 229, 0.4); }
.node-app { border-color: rgba(16, 185, 129, 0.4); }

.node-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.node-rfid .node-icon { color: var(--color-accent); }
.node-server .node-icon { color: var(--color-primary); }
.node-app .node-icon { color: #10b981; }

.network-line {
  position: absolute;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(249, 92, 25, 0.2), rgba(0, 139, 229, 0.8), rgba(16, 185, 129, 0.2));
  z-index: 1;
}

.line-1-2 {
  left: 45px;
  width: calc(50% - 45px);
}

.line-2-3 {
  right: 45px;
  width: calc(50% - 45px);
}

.network-signal {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  top: -4px;
  box-shadow: 0 0 10px var(--color-accent);
}

.signal-forward {
  animation: move-signal 3s infinite linear;
}

.signal-backward {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  top: -4px;
  animation: move-signal-back 3s infinite linear;
}

@keyframes move-signal {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes move-signal-back {
  0% { right: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

.domain-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
}

/* Instruction Step Guide styling */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.guide-step {
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  position: relative;
  transition: var(--transition-normal);
}

.guide-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  position: absolute;
  top: -24px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 139, 229, 0.2);
}

.guide-step h3 {
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

/* General Page Layouts (Privacy, Terms, Support, Deletion) */
.page-header {
  padding-top: 160px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(0, 139, 229, 0.05) 0%, transparent 100%);
  text-align: center;
}

.page-content-wrapper {
  padding-bottom: 100px;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--color-border-light);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

/* Forms layout */
.form-card {
  max-width: 650px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border-light);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-light);
  background: var(--color-bg-light);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 139, 229, 0.15);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(0, 139, 229, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f8fafc;
}

.faq-answer-inner {
  padding: 0 28px 22px 28px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Footer Section */
footer {
  background: #070e1b;
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a:hover {
  color: #fff;
}

/* Success Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 14, 27, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-content h3 {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding-bottom: 60px;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .badge {
    align-self: center;
  }
  
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 500px;
    margin: 50px auto 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border-light);
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
  }
  
  .nav-dark {
    background: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border-dark);
  }
  
  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  
  .nav-btn {
    text-align: center;
    margin-top: 10px;
  }
  
  .legal-content {
    padding: 30px 20px;
  }
  
  .form-card {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
