/* Google Font is loaded via <link> in index.html for better performance */

/* base styles */
* {
  font-family: "Quicksand";
  color: #333;
}

body {
  margin: 0;
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

#root {
  display: flex;
  flex-direction: column;
}

/* Allow scrolling on payment pages */
.complete-page-container, 
.checkout-container {
  overflow-y: auto;
  height: 100vh;
}

/* =============================================================================
   ExamPedite theme tokens
   -----------------------------------------------------------------------------
   The app ships two palettes — the signature dark dashboard look (default) and a
   light ("white") counterpart. Components reference these semantic variables via
   `var(--ep-*)`; the active palette is selected by the `data-theme` attribute on
   <html>, toggled at runtime by the ThemeProvider (src/Theme/ThemeContext.tsx)
   and persisted to localStorage.

   Dark is the default (`:root`) so any element that has NOT yet been migrated to
   a token keeps its original dark appearance — migration is therefore safe and
   incremental. Switching to light only affects elements that already read a
   token, so dark mode stays byte-identical to the pre-theme design.
   ============================================================================= */

:root,
html[data-theme='dark'] {
  /* Surfaces (near-black -> raised greys) */
  --ep-bg: #191919;
  --ep-elevated: #212121;
  --ep-surface: #262626;
  --ep-surface-2: #2e2e2e;
  --ep-surface-3: #404040;
  --ep-slate: #2d3748;

  /* Borders */
  --ep-border: #383838;
  --ep-border-strong: #4a4a4a;

  /* Text */
  --ep-text: #e0e0e0;
  --ep-text-2: #a0a0a0;
  --ep-text-3: #888888;
  --ep-text-on-accent: #ffffff;

  /* Brand / accent */
  --ep-accent: #5bbadc;
  --ep-accent-2: #4a94b0;
  --ep-accent-soft: #7acbea;

  /* Neon "tech glow" accent used across the dashboard */
  --ep-glow: #00f7ff;
  /* Glow tints (borders / fills / rings / glows). Kept as the neon cyan in dark;
     flipped to a readable deep teal on white (below) so tabs, borders and text
     stay legible instead of washing out. */
  --ep-glow-a05: rgba(0, 247, 255, 0.05);
  --ep-glow-a10: rgba(0, 247, 255, 0.1);
  --ep-glow-a20: rgba(0, 247, 255, 0.2);
  --ep-glow-a30: rgba(0, 247, 255, 0.3);
  --ep-glow-a40: rgba(0, 247, 255, 0.4);
  --ep-glow-a50: rgba(0, 247, 255, 0.5);
  --ep-glow-a70: rgba(0, 247, 255, 0.7);

  /* Translucent helpers (kept theme-agnostic by default) */
  --ep-overlay: rgba(0, 0, 0, 0.6);
  --ep-accent-fade: rgba(91, 186, 220, 0.14);

  /* Layer overlays — how panels build "virtual layers" on top of a surface.
     In DARK these are white-over-dark lifts (a slightly lighter layer); they keep
     their original look. In LIGHT (below) they flip to a subtle dark-over-light
     tint so the same stacking still reads as distinct layers instead of vanishing
     into white. Four steps of increasing lift. */
  --ep-raise-1: rgba(255, 255, 255, 0.04);
  --ep-raise-2: rgba(255, 255, 255, 0.07);
  --ep-raise-3: rgba(255, 255, 255, 0.11);
  --ep-raise-4: rgba(255, 255, 255, 0.16);

  /* Near-opaque dark panels (dropdowns, popovers, modals rendered over content). */
  --ep-panel-strong: rgba(25, 25, 32, 0.95);
  --ep-panel-strong-2: rgba(40, 40, 40, 0.95);

  /* Elevation shadows. Dark relies on colour for depth, so shadows are subtle. */
  --ep-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --ep-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --ep-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
  --ep-ring: 0 0 0 3px rgba(91, 186, 220, 0.35);
}

html[data-theme='light'] {
  /* Surfaces — a layered light scale that mirrors the dark stack's depth.
     Dark goes #191919 -> #212121 -> #262626 -> #2e2e2e -> #404040 (back -> front).
     Light mirrors that hierarchy with a soft-grey backdrop, crisp-white primary
     panels, and progressively tinted greys for nested / raised elements so the
     "virtual layers" stay readable instead of collapsing into one flat white. */
  --ep-bg: #e4e7ec;          /* deepest backdrop (was #191919)  — clear cool grey   */
  --ep-elevated: #eef0f4;    /* secondary surfaces: tool panels, tab bars, sidebars */
  --ep-surface: #ffffff;     /* primary panels / cards (was #262626) — crisp white  */
  --ep-surface-2: #e9ecf1;   /* inputs / nested fields / resizer (was #2e2e2e)      */
  --ep-surface-3: #dadfe7;   /* raised / hover / active state    (was #404040)      */
  --ep-slate: #e8ecf3;       /* blue-grey accent panels (was #2d3748)               */

  /* Borders (light layers lean on borders + shadow for separation, not lightness) */
  --ep-border: #d4d9e1;
  --ep-border-strong: #bcc3ce;

  /* Text */
  --ep-text: #1f2329;
  --ep-text-2: #586069;
  --ep-text-3: #8a929c;
  --ep-text-on-accent: #ffffff;

  /* Brand / accent (slightly deepened for contrast on white) */
  --ep-accent: #2f9ec2;
  --ep-accent-2: #247c9a;
  --ep-accent-soft: #5bb6d6;

  /* Neon glow -> readable deep teal on white (used for tabs / borders / text) */
  --ep-glow: #0a6675;
  --ep-glow-a05: rgba(11, 122, 143, 0.06);
  --ep-glow-a10: rgba(11, 122, 143, 0.1);
  --ep-glow-a20: rgba(11, 122, 143, 0.16);
  --ep-glow-a30: rgba(11, 122, 143, 0.28);
  --ep-glow-a40: rgba(11, 122, 143, 0.4);
  --ep-glow-a50: rgba(11, 122, 143, 0.52);
  --ep-glow-a70: rgba(11, 122, 143, 0.68);

  --ep-overlay: rgba(15, 23, 32, 0.35);
  --ep-accent-fade: rgba(47, 158, 194, 0.12);

  /* Layer overlays flipped: subtle dark-over-light tints so stacked layers stay
     visible on white surfaces, plus near-white replacements for the dark panels. */
  --ep-raise-1: rgba(15, 23, 42, 0.04);
  --ep-raise-2: rgba(15, 23, 42, 0.06);
  --ep-raise-3: rgba(15, 23, 42, 0.085);
  --ep-raise-4: rgba(15, 23, 42, 0.12);

  --ep-panel-strong: rgba(255, 255, 255, 0.98);
  --ep-panel-strong-2: rgba(237, 240, 245, 0.98);

  /* Light: soft, modern, slightly cool shadows (the primary depth cue). */
  --ep-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.05);
  --ep-shadow-md: 0 2px 8px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --ep-shadow-lg: 0 12px 28px rgba(16, 24, 40, 0.12), 0 4px 8px rgba(16, 24, 40, 0.06);
  --ep-ring: 0 0 0 3px rgba(47, 158, 194, 0.25);
}

/* =============================================================================
   Light-mode refinements — Examer panel
   -----------------------------------------------------------------------------
   The dark theme builds depth from many near-blacks + translucent lifts. On a
   light surface that reads flat, and a few elements hardcode dark greys (#333,
   #444) that look wrong on white. This layer gives the Examer panel a clean,
   modern light treatment (grey backdrop, white cards, soft shadows, distinct
   tabs / inputs / buttons) WITHOUT touching dark mode — every rule is gated on
   html[data-theme='light']. Loaded after theme.css so it wins the cascade.
   ============================================================================= */

/* ---- Layout: white "document" panels floating on the grey backdrop ---------- */
html[data-theme='light'] .examer-dashboard-outside-container {
  background-color: var(--ep-bg);
}

html[data-theme='light'] .examer-dashboard-container-header,
html[data-theme='light'] .examer-dashboard-footer {
  background-color: var(--ep-surface);
  border-color: var(--ep-border);
  box-shadow: var(--ep-shadow-sm);
}

html[data-theme='light'] .examer-dashboard-answer-panel,
html[data-theme='light'] .examer-dashboard-materials-panel {
  background-color: var(--ep-surface);
}

html[data-theme='light'] .examer-dashboard-tools-panel {
  background-color: var(--ep-elevated);
  border-left: 1px solid var(--ep-border);
}

html[data-theme='light'] .examer-dashboard-resizer {
  background-color: var(--ep-surface-2);
}

/* ---- Tabs: modern segmented control (grey track, white active pill) --------- */
html[data-theme='light'] .examer-dashboard-functional-tools-tabs {
  background-color: var(--ep-surface-2);
  box-shadow: none;
  border: 1px solid var(--ep-border);
  padding: 3px;
  gap: 2px;
}

html[data-theme='light'] .examer-dashboard-functional-tools-tab {
  color: var(--ep-text-2);
  border-bottom: none;
  border-radius: 6px;
}

html[data-theme='light'] .examer-dashboard-functional-tools-tab:hover {
  /* gentle lift toward the white active pill (was --ep-surface-3, too sharp) */
  background-color: rgba(255, 255, 255, 0.55);
  color: var(--ep-text);
}

html[data-theme='light'] .examer-dashboard-functional-tools-tab.active {
  background-color: var(--ep-surface);
  color: var(--ep-accent-2);
  border-bottom: none;
  box-shadow: var(--ep-shadow-sm);
}

/* ---- Mode select dropdown ---------------------------------------------------- */
html[data-theme='light'] .examer-dashboard-functional-tools-mode-select {
  background-color: var(--ep-surface);
  border: 1px solid var(--ep-border);
  color: var(--ep-text);
}

/* ---- Chat input: clean white field with focus ring (was dark #333/#444) ----- */
html[data-theme='light'] .examer-dashboard-functional-tools-input-area {
  background-color: var(--ep-elevated);
  border-top: 1px solid var(--ep-border);
}

html[data-theme='light'] .examer-dashboard-functional-tools-input {
  background-color: var(--ep-surface);
  border: 1px solid var(--ep-border);
  color: var(--ep-text);
}

html[data-theme='light'] .examer-dashboard-functional-tools-input:focus {
  border-color: var(--ep-accent);
  background-color: var(--ep-surface);
  box-shadow: var(--ep-ring);
}

/* ---- Message bubbles --------------------------------------------------------- */
html[data-theme='light'] .examer-dashboard-functional-tools-message.user {
  /* keep the blue bubble, but text must stay white on the saturated fill */
  color: #ffffff;
  box-shadow: var(--ep-shadow-sm);
}

html[data-theme='light'] .examer-dashboard-functional-tools-message.ai {
  background-color: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-left: 3px solid var(--ep-accent);
  box-shadow: var(--ep-shadow-sm);
}

html[data-theme='light'] .examer-dashboard-functional-tools-message.ai h2 {
  border-bottom-color: var(--ep-border);
}

/* ---- Generic form fields inside the dashboard (answer inputs, title, etc.) --- */
html[data-theme='light'] .examer-dashboard-outside-container input[type='text'],
html[data-theme='light'] .examer-dashboard-outside-container input[type='number'],
html[data-theme='light'] .examer-dashboard-outside-container textarea,
html[data-theme='light'] .examer-dashboard-outside-container select {
  background-color: var(--ep-surface);
  border-color: var(--ep-border);
  color: var(--ep-text);
}

/* ---- Footer action buttons: solid, modern, clearly coloured on white --------- */
html[data-theme='light'] .examer-dashboard-submit-button {
  background: linear-gradient(45deg, var(--ep-accent), var(--ep-accent-2));
  border: none;
  color: #ffffff;
  box-shadow: var(--ep-shadow-sm);
}
html[data-theme='light'] .examer-dashboard-submit-button:hover {
  background: linear-gradient(45deg, var(--ep-accent-2), #1d6a85);
  box-shadow: var(--ep-shadow-md);
}

html[data-theme='light'] .examer-dashboard-save-button {
  background: linear-gradient(45deg, #22a06b, #16855a);
  border: none;
  color: #ffffff;
  box-shadow: var(--ep-shadow-sm);
}
html[data-theme='light'] .examer-dashboard-save-button:hover {
  background: linear-gradient(45deg, #1c8d5d, #12724c);
  box-shadow: var(--ep-shadow-md);
}

html[data-theme='light'] .examer-dashboard-download-button {
  background: linear-gradient(45deg, #7c5cf0, #6747d6);
  border: none;
  color: #ffffff;
  box-shadow: var(--ep-shadow-sm);
}
html[data-theme='light'] .examer-dashboard-download-button:hover {
  background: linear-gradient(45deg, #6b4ce0, #5739c2);
  box-shadow: var(--ep-shadow-md);
}

html[data-theme='light'] .examer-dashboard-upload-button {
  background: linear-gradient(45deg, #e8943a, #d97a1a);
  border: none;
  color: #ffffff;
  box-shadow: var(--ep-shadow-sm);
}
html[data-theme='light'] .examer-dashboard-upload-button:hover {
  background: linear-gradient(45deg, #d9822a, #c06a12);
  box-shadow: var(--ep-shadow-md);
}

/* Small accent chips (time, back button, title meta) read better solid-tinted */
html[data-theme='light'] .examer-dashboard-back-button,
html[data-theme='light'] .examer-dashboard-time {
  background-color: var(--ep-accent-fade);
  border-color: var(--ep-border);
  color: var(--ep-accent-2);
}

/* =============================================================================
   Light-mode refinements — sidebar glow lines
   -----------------------------------------------------------------------------
   The sidebar draws thin neon-cyan rgba(0,253,255,a) lines for its borders,
   scrollbar and chip fills. On white those wash out to almost nothing, so under
   light we swap the cyan for the darker green var(--ep-glow) (#0a6675). Dark
   mode keeps the original neon glow — every rule below is light-only.
   ============================================================================= */

/* ---- Sidebar scrollbar: green thumb on a light track ------------------------ */
html[data-theme='light'] .sidebar-button-wrapper {
  scrollbar-color: var(--ep-glow) var(--ep-surface-2);
}
html[data-theme='light'] .sidebar-button-wrapper::-webkit-scrollbar-track {
  background: var(--ep-surface-2);
}
html[data-theme='light'] .sidebar-button-wrapper::-webkit-scrollbar-thumb,
html[data-theme='light'] .collapsed .sidebar-button-wrapper::-webkit-scrollbar-thumb {
  background: var(--ep-glow);
}
html[data-theme='light'] .sidebar-button-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--ep-accent-2);
}

/* ---- Sidebar dividers / chip borders: solid green (were faint cyan) --------- */
html[data-theme='light'] .category-header {
  border-bottom: 2px solid var(--ep-glow);
}

html[data-theme='light'] .zoom-controls-container,
html[data-theme='light'] .zoom-percentage-only {
  background: var(--ep-surface);
  border: 1px solid var(--ep-glow);
}

html[data-theme='light'] .zoom-level-display {
  background: var(--ep-surface);
  border: 1px solid var(--ep-glow);
}

/* =============================================================================
   Light-mode refinements — Examer dashboard interior
   -----------------------------------------------------------------------------
   The answer book / materials / functional-tools interiors hardcode dark-blue
   panels and dark editor chrome. With the text now readable (tokenized), these
   surfaces still need to flip to light so the stacking + editors read on white.
   ============================================================================= */

/* ---- Nested question containers: light layer scale (lvl1 = --ep-slate) ------ */
html[data-theme='light'] .examer-dashboard-question-container
  .examer-dashboard-question-container {
  background-color: var(--ep-surface-2);   /* was #3a4a63 */
}
html[data-theme='light'] .examer-dashboard-question-container
  .examer-dashboard-question-container
  .examer-dashboard-question-container {
  background-color: var(--ep-surface-3);   /* was #4a5a73 */
  border-left-color: var(--ep-accent-2);
}

/* ---- Question header pill: dark gradient -> soft accent chip ----------------- */
html[data-theme='light'] .examer-dashboard-functional-tools-question {
  background: var(--ep-accent-fade);
  color: var(--ep-accent-2);
  border: 1px solid var(--ep-border);
}

/* ---- Notes quill editor (ql-snow): white field, not grey -------------------- */
html[data-theme='light'] .examer-dashboard-functional-tools-quill-wrapper {
  border-color: var(--ep-border);
}
html[data-theme='light'] .examer-dashboard-functional-tools-quill-wrapper .ql-container,
html[data-theme='light'] .examer-dashboard-functional-tools-quill-wrapper .ql-editor {
  background-color: var(--ep-surface);
}
html[data-theme='light'] .examer-dashboard-functional-tools-quill-wrapper .ql-toolbar {
  border-bottom-color: var(--ep-border);   /* was #444 */
}

/* ---- Resizer: a clear grey handle that turns accent on hover/drag ----------- */
html[data-theme='light'] .examer-dashboard-resizer {
  background-color: var(--ep-border-strong);
}
html[data-theme='light'] .examer-dashboard-resizer:hover,
html[data-theme='light'] .examer-dashboard-resizer:active {
  background-color: var(--ep-accent);
}

/* ---- Toggle bars / nested-question toggle: light, not dark-blue ------------- */
html[data-theme='light'] .examer-dashboard-nested-question-toggle {
  background-color: var(--ep-surface-2);   /* was #374151 */
  border-color: var(--ep-border);          /* was #4a5568 */
}
html[data-theme='light'] .examer-dashboard-nested-question-toggle:hover {
  background-color: var(--ep-surface-3);   /* was #4a5568 */
  border-color: var(--ep-accent);
}
html[data-theme='light'] .examer-dashboard-toggle-bar:hover {
  background-color: var(--ep-surface-3);   /* was #3a4a63, too dark */
}

/* ---- Answer-type section: light card, not a dark-blue translucent block ----- */
html[data-theme='light'] .examer-dashboard-answer-type-section {
  background-color: var(--ep-surface-2);   /* was rgba(45,55,72,0.5) */
}
html[data-theme='light'] .examer-dashboard-answer-type-section:hover {
  background-color: var(--ep-surface-3);   /* was rgba(45,55,72,0.7) */
}

/* ---- Answer Book header <select>: was hardcoded #333 -> dark-on-dark in light */
html[data-theme='light'] .examer-dashboard-answer-book-header-fixed select,
html[data-theme='light'] .examer-dashboard-answer-book-header-fixed select option {
  background-color: var(--ep-surface);
  color: var(--ep-text);
  border-color: var(--ep-border);
}

/* ---- Question/answer table headers: darker so they don't wash out ----------- */
html[data-theme='light'] .examer-dashboard-question-table th,
html[data-theme='light'] .examer-dashboard-user-answer-table th {
  color: var(--ep-accent-2);
}

/* =============================================================================
   Light-mode refinements — result-page container borders
   -----------------------------------------------------------------------------
   On light, the search bar / result panel / summary card build depth only from a
   faint translucent fill, so their edges disappear into the page. Re-introduce a
   slightly-dark outline (--ep-border-strong) so each container reads as a panel.
   Applies to Peditor / Examer / Assessor / Marketplace + Group Management.
   ============================================================================= */

/* Result panel wrappers (box-sizing so the +border keeps the 100vh height) */
html[data-theme='light'] .examer-panel-result-container,
html[data-theme='light'] .peditor-panel-result-container,
html[data-theme='light'] .assess-paper-record-result-container,
html[data-theme='light'] .paper-market-content-container {
  border: 1px solid var(--ep-border-strong);
  border-radius: 12px;
  box-sizing: border-box;
}

/* Search bars + summary cards */
html[data-theme='light'] .examer-panel-result-search-form,
html[data-theme='light'] .peditor-panel-result-search-form,
html[data-theme='light'] .assess-paper-record-result-search-form,
html[data-theme='light'] .paper-market-search-form,
html[data-theme='light'] .examer-panel-summary-container,
html[data-theme='light'] .peditor-panel-summary-container,
html[data-theme='light'] .assess-paper-record-summary-container,
html[data-theme='light'] .paper-market-summary-container {
  border: 1px solid var(--ep-border-strong);
}

/* Results table panels (the 60% list section beside the summary) */
html[data-theme='light'] .peditor-panel-table-section,
html[data-theme='light'] .examer-panel-table-section,
html[data-theme='light'] .assess-paper-record-table-section,
html[data-theme='light'] .paper-market-table-section,
html[data-theme='light'] .paper-market-table-section-full {
  border: 1px solid var(--ep-border-strong);
}

/* Keep the Examer mobile summary modal borderless (it renders flush) */
html[data-theme='light'] .examer-panel-mobile-summary-modal .examer-panel-summary-container {
  border: none;
}

/* Group Management: outline the two side-by-side panels */
html[data-theme='light'] .users-in-group-container,
html[data-theme='light'] .user-group-list-container {
  border: 1px solid var(--ep-border-strong);
  border-radius: 12px;
}

/* =============================================================================
   Copilot panel / Profile panel / Subscription — light-theme text + surfaces.
   Bootstrap .text-white / .text-light are `!important`, so the overrides below
   must be `!important` too. Buttons (.btn) keep their white labels on coloured
   backgrounds, hence the :not(.btn) guards.
   ============================================================================= */

/* 1. Copilot empty-state prompt ("Select your tailor-made AI chat" / "OR" /
      "Create a new AI chat") — white on the light chat surface. */
html[data-theme='light'] .report-form-container .text-white:not(.btn),
html[data-theme='light'] .report-form-container .text-light:not(.btn) {
  color: var(--ep-text) !important;
}

/* 2. Subscription badge text — premium badges set light text (var(--ep-bg))
      which washes out on their bright gold/cyan fills under the white theme. */
html[data-theme='light'] .subscription-badge.educator-premium,
html[data-theme='light'] .subscription-badge.student-premium {
  color: #10242a;
}

/* 3 + 5. Setting page + Subscription page text inside the profile modals. */
html[data-theme='light'] .user-setting-container .text-white:not(.btn),
html[data-theme='light'] .user-setting-content .text-white:not(.btn),
html[data-theme='light'] .user-setting-header .text-white:not(.btn),
html[data-theme='light'] .subscription-details-container .text-white:not(.btn),
html[data-theme='light'] .subscription-details-content .text-white:not(.btn),
html[data-theme='light'] .feedback-container .text-white:not(.btn),
html[data-theme='light'] .mobile-modal-content .text-white:not(.btn) {
  color: var(--ep-text) !important;
}

html[data-theme='light'] .user-setting-container .text-light:not(.btn),
html[data-theme='light'] .user-setting-content .text-light:not(.btn),
html[data-theme='light'] .subscription-details-container .text-light:not(.btn),
html[data-theme='light'] .subscription-details-content .text-light:not(.btn),
html[data-theme='light'] .feedback-container .text-light:not(.btn),
html[data-theme='light'] .mobile-modal-content .text-light:not(.btn) {
  color: var(--ep-text-2) !important;
}

/* The <hr className="text-white"> dividers in the settings form. */
html[data-theme='light'] .user-setting-container hr.text-white,
html[data-theme='light'] .subscription-details-container hr.text-white {
  border-color: var(--ep-border-strong) !important;
  color: var(--ep-border-strong) !important;
}

/* 4. Profile dropdown menu — PaperSideBar.css hard-codes a dark #343a40 fill;
      repaint it as a light, white-themed surface. */
html[data-theme='light'] .profile-dropdown-menu {
  background-color: var(--ep-surface) !important;
  border: 1px solid var(--ep-border-strong) !important;
  box-shadow: var(--ep-shadow-lg);
}

html[data-theme='light'] .profile-dropdown-menu .dropdown-item {
  color: var(--ep-text) !important;
}

html[data-theme='light'] .profile-dropdown-menu .dropdown-item:hover {
  background-color: var(--ep-surface-2) !important;
}

/* Mobile profile dropdown (dark rgba fill). */
html[data-theme='light'] .mobile-profile-dropdown {
  background-color: var(--ep-surface) !important;
  border-color: var(--ep-border-strong) !important;
}

html[data-theme='light'] .mobile-dropdown-item {
  color: var(--ep-text) !important;
}

/* 5. Subscription plan cards — dark translucent fills go light-themed. */
html[data-theme='light'] .premium-plan-card {
  background-color: var(--ep-surface) !important;
  border-color: var(--ep-border-strong);
}

html[data-theme='light'] .premium-plan-card-featured {
  background-color: var(--ep-accent-fade) !important;
  border-color: var(--ep-accent-soft);
}

html[data-theme='light'] .subscription-transaction-card .card {
  background-color: var(--ep-surface) !important;
  border-color: var(--ep-border-strong);
}

/* 6. Result-area surfaces — unify Peditor with Examer. Examer uses the soft
      gray tint (--ep-raise-3) for its table section / summary / search form,
      while Peditor used a near-invisible white wash (rgba(255,255,255,0.1)).
      Repaint the Peditor surfaces to the same gray so both panels match. */
html[data-theme='light'] .peditor-panel-table-section,
html[data-theme='light'] .peditor-panel-summary-container,
html[data-theme='light'] .peditor-panel-result-search-form {
  background: var(--ep-raise-3);
}

/* =============================================================================
   Profile / Subscription / Settings / Feedback modals — chrome polish for the
   white theme: dark close (X) icon, light scrollbars, light headers, and the
   feedback form body text.
   ============================================================================= */

/* X icon — Bootstrap .btn-close-white forces a white glyph (invert filter);
   drop the filter inside these light modals so the X reads dark. */
html[data-theme='light'] .user-setting-header .btn-close-white,
html[data-theme='light'] .user-setting-container .btn-close-white,
html[data-theme='light'] .subscription-details-container .btn-close-white,
html[data-theme='light'] .feedback-container .btn-close-white,
html[data-theme='light'] .consent-modal-header .btn-close-white,
html[data-theme='light'] .mobile-modal-content .btn-close-white {
  filter: none;
}

/* Dark modal header strips repainted for the white theme. */
html[data-theme='light'] .subscription-history-modal-header {
  background: var(--ep-surface-2);
}

html[data-theme='light'] .subscription-history-modal {
  border-color: var(--ep-border-strong);
}

/* Feedback form body — labels/textarea inherit white; pin to readable text. */
html[data-theme='light'] .feedback-container {
  color: var(--ep-text);
}

/* Scrollbars — the dark rgba(0,0,0,…) tracks + neon thumbs go light/teal. */
html[data-theme='light'] .user-setting-container::-webkit-scrollbar-track,
html[data-theme='light'] .user-setting-content::-webkit-scrollbar-track,
html[data-theme='light'] .subscription-details-container::-webkit-scrollbar-track,
html[data-theme='light'] .subscription-details-content::-webkit-scrollbar-track,
html[data-theme='light'] .subscription-history-table-container::-webkit-scrollbar-track,
html[data-theme='light'] .subscription-transactions-list::-webkit-scrollbar-track,
html[data-theme='light'] .mobile-modal-content::-webkit-scrollbar-track {
  background: var(--ep-raise-1);
}

html[data-theme='light'] .user-setting-container::-webkit-scrollbar-thumb,
html[data-theme='light'] .user-setting-content::-webkit-scrollbar-thumb,
html[data-theme='light'] .subscription-details-container::-webkit-scrollbar-thumb,
html[data-theme='light'] .subscription-details-content::-webkit-scrollbar-thumb,
html[data-theme='light'] .subscription-history-table-container::-webkit-scrollbar-thumb,
html[data-theme='light'] .subscription-transactions-list::-webkit-scrollbar-thumb,
html[data-theme='light'] .mobile-modal-content::-webkit-scrollbar-thumb {
  background: var(--ep-glow-a30);
}

html[data-theme='light'] .user-setting-container::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .user-setting-content::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .subscription-details-container::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .subscription-details-content::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .subscription-history-table-container::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .subscription-transactions-list::-webkit-scrollbar-thumb:hover,
html[data-theme='light'] .mobile-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--ep-glow-a50);
}

/* =============================================================================
   Peditor dashboard — white-theme alignment, mirroring the Examer dashboard's
   token usage (inputs, scrollbars, text, resizer). Dark mode keeps its
   hard-coded #333 / neon look; these rules only apply under the white theme.
   ============================================================================= */

/* Inputs / selects / textareas — clean white field + soft border (the Examer
   `.examer-dashboard-outside-container input/textarea/select` pattern). The
   .peditor-dashboard-form-control source rule uses !important, so match it. */
html[data-theme='light'] .peditor-dashboard-form-control,
html[data-theme='light'] .peditor-dashboard-input,
html[data-theme='light'] .peditor-dashboard-textarea,
html[data-theme='light'] .peditor-dashboard-select,
html[data-theme='light'] .peditor-dashboard-form-group input,
html[data-theme='light'] .peditor-dashboard-form-group textarea,
html[data-theme='light'] .peditor-dashboard-outside-container input:not([type='checkbox']):not([type='radio']),
html[data-theme='light'] .peditor-dashboard-outside-container textarea,
html[data-theme='light'] .peditor-dashboard-outside-container select {
  background-color: var(--ep-surface) !important;
  border-color: var(--ep-border) !important;
  color: var(--ep-text) !important;
}

/* Native <select> option lists (were dark-on-dark). */
html[data-theme='light'] .peditor-dashboard-outside-container select option {
  background-color: var(--ep-surface);
  color: var(--ep-text);
}

/* Toggle bars + floating add-menu (were hard #333). */
html[data-theme='light'] .peditor-dashboard-toggle-bar {
  background-color: var(--ep-surface-2);
}
html[data-theme='light'] .peditor-dashboard-add-menu {
  background-color: var(--ep-surface);
  border: 1px solid var(--ep-border);
  box-shadow: var(--ep-shadow-md);
}

/* Panel dividers / header rule (were #333 and #5f5e5e). */
html[data-theme='light'] .peditor-dashboard-overview {
  border-right-color: var(--ep-border);
}
html[data-theme='light'] .peditor-dashboard-container-header {
  border-bottom-color: var(--ep-border);
}

/* Status toggle pill neutral track (was #333) — lift to a light surface so it
   doesn't read as a dark blob (its complete/incomplete states keep their fills). */
html[data-theme='light'] .peditor-dashboard-done-button {
  background-color: var(--ep-surface-3);
}

/* Resizer — grey handle that turns accent on hover/drag (Examer pattern; the
   base was always-on neon glow with a hard cyan box-shadow). */
html[data-theme='light'] .peditor-dashboard-resizer {
  background-color: var(--ep-border-strong);
}
html[data-theme='light'] .peditor-dashboard-resizer:hover,
html[data-theme='light'] .peditor-dashboard-resizer:active {
  background-color: var(--ep-accent);
  box-shadow: 0 0 5px var(--ep-glow-a50);
}

/* Scrollbars across the whole dashboard → light track + teal thumb (matches the
   examer/result-page treatment). Scoped descendant selector covers the overview,
   settings, property-settings and nested scroll areas in one pass. */
html[data-theme='light'] .peditor-dashboard-outside-container ::-webkit-scrollbar-track {
  background: var(--ep-raise-1);
}
html[data-theme='light'] .peditor-dashboard-outside-container ::-webkit-scrollbar-thumb {
  background: var(--ep-glow-a30);
  border-radius: 4px;
}
html[data-theme='light'] .peditor-dashboard-outside-container ::-webkit-scrollbar-thumb:hover {
  background: var(--ep-glow-a50);
}

/* Text contrast — the secondary/tertiary text tokens are mid-greys that wash out
   on the dashboard's tinted backgrounds. Remap them to the near-black primary
   *within the dashboard scope only* so all dashboard copy reads dark. (Scoped
   token override = no per-element selectors, and buttons/icons that use explicit
   colours or the accent tokens are untouched.) */
html[data-theme='light'] .peditor-dashboard-outside-container {
  --ep-text-2: var(--ep-text);
  --ep-text-3: var(--ep-text);
}

/* The "Start generation" button bakes in near-white (whitesmoke) text, which is
   too light on its pale cyan fill under the white theme — pin it dark. */
html[data-theme='light'] .peditor-dashboard-generatiopn-btn-start {
  color: var(--ep-text);
}

/* Buttons with saturated colour fills hard-code `color: var(--ep-text)` for the
   label, which flips to near-black under the white theme — i.e. dark/grey text on
   a deep blue/green/purple button. Force white labels on the saturated buttons
   (mirrors how Examer keeps white text on its coloured footer buttons). */
html[data-theme='light'] .question-template-browse-btn,
html[data-theme='light'] .question-template-confirm-btn,
html[data-theme='light'] .question-template-insert-btn,
html[data-theme='light'] .generating-btn {
  color: var(--ep-text-on-accent);   /* #ffffff */
}

/* The yellow "change template" button is the inverse — its light label washes
   out on the amber fill, so pin it dark. */
html[data-theme='light'] .question-template-change-btn {
  color: #1f2329;
}

/* Model-answers header buttons sit on a pale purple tint with near-white text
   (#e9d5ff) + inverted-to-white icons — both vanish on white. Darken to a
   readable purple and drop the icon inversion. */
html[data-theme='light'] .peditor-model-answers-header .btn,
html[data-theme='light'] .peditor-model-answers-title i {
  color: #7e22ce;
}
html[data-theme='light'] .peditor-model-answers-header .btn i,
html[data-theme='light'] .peditor-model-answers-header .btn img {
  filter: none;
}

/* =============================================================================
   Property-settings labels & section titles — bold black on the white theme.
   -----------------------------------------------------------------------------
   Several labels/titles in the settings panel hard-code Bootstrap .text-white or
   a light-purple (#e9d5ff), which disappear on white. The earlier .text-white
   overrides were scoped to the profile/copilot modals, so they don't reach the
   Peditor settings panel. Pin them all to bold black here — e.g. "Reference
   Answer (Text-based) N", "Explanation", "Step N Outline" — plus their
   same-level labels and the soft-grey "Add … Answer" secondary buttons.
   ============================================================================= */

/* .text-white / .text-light labels inside the dashboard (Step Outline,
   Explanation, AI hints, etc.). Bootstrap's utilities are !important. */
html[data-theme='light'] .peditor-dashboard-outside-container .text-white:not(.btn),
html[data-theme='light'] .peditor-dashboard-outside-container .text-light:not(.btn) {
  color: var(--ep-text) !important;
}

/* Section/field labels — bold black so they read as headings. */
html[data-theme='light'] .peditor-dashboard-outside-container .property-setting-form-label {
  color: var(--ep-text);
  font-weight: 700;
}

/* "Reference Answer (Text-based) N" title + its leading type icon (was the
   light-purple #e9d5ff that washed out). */
html[data-theme='light'] .peditor-model-answers-title,
html[data-theme='light'] .peditor-model-answers-title i {
  color: var(--ep-text);
  font-weight: 700;
}

/* The "Add <type> Answer" / edit / configure secondary buttons read as soft grey
   (dark text on a light-grey fill); give them a bolder, fully-black label. */
html[data-theme='light'] .peditor-dashboard-outside-container .peditor-dashboard-btn-secondary {
  color: var(--ep-text);
  font-weight: 600;
}

* {
  color: white;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* This accounts for fixed header */
}

/* Starfield Animation */
.stars {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  z-index: 1;
  animation: fly 3s linear infinite;
  transform-style: preserve-3d;
}

.stars:before,
.stars:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  box-shadow: inherit;
}

.stars:before {
  transform: translateZ(-300px);
  animation: fade1 3s linear infinite;
}

.stars:after {
  transform: translateZ(-600px);
  animation: fade2 3s linear infinite;
}

@keyframes fly {
  from {
    transform: translateZ(0px);
  }

  to {
    transform: translateZ(300px);
  }
}

@keyframes fade1 {
  from {
    opacity: .5;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade2 {
  from {
    opacity: 0;
  }

  to {
    opacity: .5;
  }
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  color: #fff;
  position: relative;
  z-index: 2;
}

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

header {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 20px 40px;
}

.header-nav-wrapper {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 20px;
  margin-left: auto;
}

.header-nav-wrapper nav,
.header-nav-wrapper .header-login-btn {
  display: flex;
  align-items: center;
}

.header-nav-wrapper .links {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.header-nav-wrapper .language-toggle {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.links a:hover {
  color: #00f7ff;
}

.nav-item {
  align-self: center;
}

section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 50px;
  /* Keep this for smooth scrolling offset */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language Toggle Styles */
.language-toggle {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  border-radius: 20px;
  margin-left: 10px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-btn:active {
  background: #00f7ff;
  color: #000;
}

.lang-btn.active {
  background: #00f7ff;
  color: #000;
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
}

/* Header Login Button */
.header-login-btn {
  background: linear-gradient(135deg, #00f7ff 0%, #00c8dd 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 28px rgba(0, 247, 255, 0.28);
  margin-left: 20px;
}

.header-login-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 247, 255, 0.38);
}

.header-login-btn:active {
  transform: translateY(0) scale(0.98);
}

@media screen and (max-width: 768px) {
  section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 118px;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

}

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

.hero-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 247, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 247, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-modern .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-content {
  flex: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 247, 255, 0.08);
  border: 1px solid rgba(0, 247, 255, 0.22);
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  color: rgba(0, 247, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f9ff 40%, #00f7ff 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

.hero-sparkle {
  display: inline-block;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(10deg); }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.1px;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00f7ff 0%, #00c8dd 100%);
  color: #000;
  padding: 17px 36px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 28px rgba(0, 247, 255, 0.28);
}

.hero-cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 247, 255, 0.38);
}

.hero-cta-primary svg {
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
  transform: translateX(5px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 15px 30px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.hero-cta-secondary:hover {
  border-color: rgba(0, 247, 255, 0.45);
  background: rgba(0, 247, 255, 0.08);
  color: #00f7ff;
  transform: translateY(-2px);
}

.hero-cta-secondary .play-btn {
  width: 30px;
  height: 30px;
  background: rgba(0, 247, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00f7ff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
  flex: 0 0 460px;
  position: relative;
  height: 460px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 247, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 20%;
  right: 5%;
  animation-delay: 1.5s;
}

.floating-card.card-3 {
  bottom: 25%;
  left: 5%;
  animation-delay: 3s;
}

.floating-card.card-4 {
  bottom: 10%;
  right: 10%;
  animation-delay: 4.5s;
}

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

/* ============================================
   MODERN PRICING SECTION
   ============================================ */

.pricing-modern {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.pricing-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 247, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 247, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-header {
  text-align: center;
  margin-bottom: 70px;
}

.pricing-main-title {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f9ff 40%, #00f7ff 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

.pricing-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
  font-weight: 400;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-plan {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 28px;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.pricing-plan:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 247, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 247, 255, 0.15);
}

.pricing-plan.featured {
  border: 1px solid rgba(0, 247, 255, 0.25);
  background: linear-gradient(180deg, rgba(0, 247, 255, 0.055) 0%, rgba(0, 247, 255, 0.015) 100%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  color: #000;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-badge.pro {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: #fff;
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
}

.plan-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 247, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 247, 255, 0.2);
}

.plan-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 15px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: #00f7ff;
}

.price-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}

.plan-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-included .feature-icon {
  background: rgba(0, 247, 255, 0.2);
  color: #00f7ff;
}

.feature-excluded .feature-icon {
  background: rgba(255, 100, 100, 0.2);
  color: #ff6464;
}

.feature-excluded {
  color: rgba(255, 255, 255, 0.5);
}

.feature-badge {
  font-size: 0.75rem;
  background: rgba(0, 247, 255, 0.15);
  color: #00f7ff;
  padding: 3px 10px;
  border-radius: 10px;
  margin-left: auto;
}

.plan-cta {
  width: 100%;
  padding: 16px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  letter-spacing: 0.1px;
}

.plan-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.plan-cta.primary {
  background: linear-gradient(135deg, #00f7ff 0%, #00c8dd 100%);
  border: none;
  color: #000;
  font-weight: 700;
}

.plan-cta.primary:hover {
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.3);
}

.pricing-note-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note-modern .note-icon {
  font-size: 1.5rem;
}

.pricing-note-modern p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ============================================
   MODERN CONTACT SECTION
   ============================================ */

.contact-modern {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.contact-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 70px;
}

.contact-main-title {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f9ff 40%, #00f7ff 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

.contact-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
  font-weight: 400;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card-modern {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 28px;
  padding: 56px 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.contact-card-modern:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 247, 255, 0.3);
}

.contact-card-modern .card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card-modern.whatsapp .card-glow {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
}

.contact-card-modern.instagram .card-glow {
  background: radial-gradient(circle, rgba(225, 48, 108, 0.3) 0%, transparent 70%);
}

.contact-card-modern:hover .card-glow {
  opacity: 1;
}

.contact-card-modern .card-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-card-modern:hover .card-icon {
  transform: scale(1.1);
  border-color: rgba(0, 247, 255, 0.3);
}

.contact-card-modern h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 10px;
}

.contact-card-modern p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.1px;
}

.contact-btn svg {
  transition: transform 0.3s ease;
}

.contact-btn:hover svg {
  transform: translateX(5px);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
}

.whatsapp-btn:hover {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.instagram-btn {
  background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
  color: #fff;
}

.instagram-btn:hover {
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE STYLES FOR NEW SECTIONS
   ============================================ */

@media (max-width: 1024px) {
  .hero-modern .container {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .hero-visual {
    flex: 0 0 320px;
    height: 320px;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .pricing-plan.featured {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    padding: 110px 0 70px;
  }

  .hero-title {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }

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

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

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }

  .stat-divider {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .pricing-modern,
  .contact-modern {
    padding: 80px 0;
  }

  .pricing-main-title,
  .contact-main-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .pricing-tagline,
  .contact-tagline {
    font-size: 1rem;
  }

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

  .contact-card-modern {
    padding: 40px 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .pricing-plan {
    padding: 36px 24px;
  }

  .price-amount {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .pricing-main-title,
  .contact-main-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
}

.hero {
  text-align: center;
}

.hero .info {
  opacity: 0;
  animation: scaleIn 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideInFromLeft 0.8s ease-out forwards, glowPulse 2s infinite;
  animation-delay: 0.5s;
}

.hero p {
  opacity: 0;
  animation: slideInFromRight 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

.cta-button {
  background: #00f7ff;
  color: #000;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.9s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* margin-top: 50px; */
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Enhanced Plan Styles */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.plan {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan.featured {
  border: 2px solid #00f7ff;
  background: rgba(0, 247, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.plan.featured::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmer 7s infinite linear;
  pointer-events: none;
}

.plan h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px 0;
  color: #00f7ff;
}

.plan ul {
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.plan ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.plan ul li i {
  margin-top: 3px;
}

.plan .cta-button {
  width: 100%;
  margin-top: auto;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 247, 255, 0.15);
}

.pricing-note {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.pricing-modal-header h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.pricing-modal-header p {
  color: #666;
  font-size: 1rem;
}

/* Enhanced Comparison Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: center;
  color: #333;
  border: 1px solid #dee2e6;
}

.comparison-table th {
  background-color: #f0f0f0;
  color: #333;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tr:nth-child(even):not(.table-light) {
  background-color: #f9f9f9;
}

.comparison-table tr:hover:not(.table-light) {
  background-color: rgba(0, 247, 255, 0.05);
}

.comparison-table .category-header {
  background-color: #e9ecef;
  font-size: 1.1rem;
  padding: 10px 15px;
}

.comparison-table .text-warning {
  color: #ff9800 !important;
}

.comparison-table .text-success {
  color: #28a745 !important;
}

.comparison-table .text-danger {
  color: #dc3545 !important;
}

.modal-inner {
  max-height: 85vh;
}

/* Responsive adjustments for the comparison table */
@media (max-width: 992px) {
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }
  
  .comparison-table small {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 6px 8px;
  }
  
  .comparison-table .d-none {
    display: none !important;
  }
  
  .comparison-table .category-header {
    font-size: 0.95rem;
  }
}

/* AI Quota Pricing Section */
.quota-pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 20px;
}

.quota-pricing-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.quota-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quota-card-header {
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.quota-card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.quota-card-header img {
  background: white;
  padding: 5px;
  border-radius: 50%;
}

.quota-card-body {
  padding: 20px;
  color: #333;
}

.quota-description {
  margin-bottom: 15px;
  color: #666;
  font-size: 0.95rem;
}

.quota-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00b8d4;
}

.price-unit {
  color: #666;
  font-size: 0.9rem;
}

.quota-mode {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(0, 247, 255, 0.05);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mode-label {
  font-weight: 500;
  color: #444;
}

.mode-price {
  color: #00b8d4;
  font-weight: 600;
}

/* Responsive adjustments for pricing */
@media (max-width: 992px) {
  .quota-pricing-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .quota-pricing-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-modal-wrapper .modal-inner {
    padding: 20px;
    width: 95%;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .quota-card-header h3 {
    font-size: 1.1rem;
  }
  
  .price-tag {
    font-size: 1.5rem;
  }
}

.contact-form {
  display: flex;
  gap: 20px;
  justify-content: center;
  /* margin-top: 50px; */
}

.contact-form input {
  padding: 15px;
  border-radius: 25px;
  border: none;
  width: 300px;
}

/* Demo Section Styles */
.demo {
  background: rgba(0, 0, 0, 0.3);
}

.demo-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #00f7ff rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  /* margin-top: 30px; */
}

.demo-scroll::-webkit-scrollbar {
  height: 8px;
}

.demo-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.demo-scroll::-webkit-scrollbar-thumb {
  background: #00f7ff;
  border-radius: 4px;
}

.demo-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  width: 450px;
  /* Increased width for 2 per row */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 13px 10px -7px rgba(0, 247, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
  margin-bottom: 30px;
  min-height: 400px;
}

.card:hover {
  box-shadow: 0px 30px 18px -8px rgba(0, 247, 255, 0.2);
  transform: scale(1.05, 1.05);
}

.card__info-hover {
  position: absolute;
  padding: 16px;
  width: 100%;
  opacity: 0;
  top: 0;
  z-index: 3;
}

.card__clock-info {
  float: right;
  color: #00f7ff;
}

.card__time {
  font-size: 12px;
  vertical-align: middle;
  margin-left: 5px;
}

.card__clock {
  width: 15px;
  vertical-align: middle;
  fill: #00f7ff;
}

.card__img,
.card__img--hover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 250px;
  /* Increased height for better visual */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card__img {
  visibility: hidden;
}

.card__img--hover {
  position: absolute;
  top: 0;
  height: 250px;
  /* Match the height above */
  transition: 0.2s all ease-out;
}

.card__info {
  /* background-color: rgba(0, 0, 0, 0.7); */
  padding: 16px 24px 24px 24px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.card__category {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #00f7ff;
  margin-bottom: 5px;
}

.card__title {
  margin-top: 5px;
  margin-bottom: 10px;
  color: white;
}

.card__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 15px;
}

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

.card__description li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}

.card__description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00f7ff;
  font-weight: bold;
}

.card__cta {
  background: #00f7ff;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  z-index: 10;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-end;
}

.card__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.card__cta:active {
  transform: scale(0.95);
}

.card:hover .card__img--hover {
  height: 100%;
  opacity: 0.3;
}

.card:hover .card__info {
  background-color: transparent;
}

.card:hover .card__info-hover {
  opacity: 1;
}

/* Adjust responsive breakpoints for two cards per row */
@media (max-width: 1200px) {
  .video-container {
    width: 85%;
    padding-bottom: 47.8125%;
    /* 56.25% of 85% */
  }

  .card {
    width: 420px;
  }
}

@media (max-width: 992px) {
  .card {
    width: 380px;
  }
}

@media (max-width: 850px) {
  .card {
    width: 90%;
    max-width: 450px;
  }

  .demo-cards {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {

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

  .links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header-nav-wrapper {
    gap: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(100%);
  }

  nav.active {
    right: 0;
    transform: translateX(0);
  }

  .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .links li {
    opacity: 0;
    transform: translateX(50px);
  }

  nav.active .links li {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
  }

  nav.active .links li:nth-child(1) {
    transition-delay: 0.1s;
  }

  nav.active .links li:nth-child(2) {
    transition-delay: 0.2s;
  }

  nav.active .links li:nth-child(3) {
    transition-delay: 0.3s;
  }

  nav.active .links li:nth-child(4) {
    transition-delay: 0.4s;
  }

  nav.active .links li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .links a {
    font-size: 1.5rem;
  }

  .get-started {
    margin-top: 1rem;
  }

  .header-login-btn {
    display: none;
  }

  .features,
  .plans {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .contact-form {
    flex-direction: column;
    padding: 0 20px;
  }

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

  section {
    padding: 10px 20px;
  }

  .demo-card {
    min-width: 260px;
  }

  .card-image {
    height: 160px;
  }

  .modal-content {
    width: 95%;
    max-height: 80vh;
  }

  .video-modal {
    padding: 10px;
  }

  .language-toggle {
    margin: 20px 0;
  }

  .lang-btn {
    font-size: 16px;
    padding: 8px 15px;
  }

  .demo-card:hover,
  .plan:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .feature,
  .plan {
    padding: 20px;
  }

  .price {
    font-size: 28px;
  }
}

/* Pricing Modal Styles */
.pricing-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-modal.visible {
  opacity: 1;
}

.pricing-modal-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.pricing-modal-content.visible {
  transform: scale(1);
  opacity: 1;
}

.pricing-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.3s ease;
}

.pricing-modal .close-modal:hover {
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table {
  width: 100%;
  background: white;
  margin-top: 10px;
}

/* Enhanced Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  }

  50% {
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.8), 0 0 30px rgba(0, 247, 255, 0.6);
  }

  100% {
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  }
}

/* Enhanced Component Animations */
.links a {
  position: relative;
  transition: color 0.3s ease;
}

.links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00f7ff;
  transition: width 0.3s ease;
}

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

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Demo Modal Styles */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.demo-modal-header {
  margin-bottom: 20px;
}

.demo-modal-header h2 {
  margin-bottom: 10px;
}

.demo-modal-header .category {
  color: #666;
  font-size: 0.9em;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  margin-bottom: 20px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.demo-description {
  padding: 20px 0;
}

.feature-section {
  margin: 20px 0;
}

.feature-section h3 {
  color: #333;
  margin-bottom: 10px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Demo Modal Enhanced Styles */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px;
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.demo-modal-content {
  background-color: rgba(255, 255, 255, 0.95);
  max-width: 1400px;
  width: 85%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  padding: 30px 40px;
  margin: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUpFade 0.4s ease forwards;
}

.demo-modal-header {
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(0, 247, 255, 0.2);
  padding-bottom: 15px;
}

.demo-modal-header h2 {
  margin-bottom: 8px;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
}

.demo-modal-header .category {
  color: #333;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Video Container Updates */
.video-container {
  position: relative;
  width: 70%;
  /* Control width on larger screens */
  margin: 0 auto 25px;
  /* Center the video container */
  padding-bottom: 39.375%;
  /* 56.25% of 70% to maintain aspect ratio */
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  /* Changed from cover to contain */
  background: #000;
  /* Add black background for letterboxing */
}

.video-container video {
    object-fit: contain; /* Specific to the <video> element */
    background: #000;    /* Background for letterboxing if video aspect ratio differs */
}

.video-container iframe {
    border: 0; /* Explicitly remove any default iframe border */
}

.demo-description {
  padding: 0;
  /* Remove default padding */
  max-width: 85%;
  /* Limit text width for readability */
  margin: 0 auto;
  /* Center content */
  color: #444;
}

.demo-description p {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.feature-section {
  background: rgba(0, 247, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin: 15px auto;
  /* Center align */
  max-width: 85%;
  /* Match description width */
  border-left: 4px solid #00f7ff;
}

.feature-section h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-section p {
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.demo-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.demo-modal .close-modal:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

/* Add new animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1200px) {
  .video-container {
    width: 85%;
    padding-bottom: 47.8125%;
    /* 56.25% of 85% */
  }
}

@media (max-width: 768px) {
  .demo-modal {
    padding: 15px;
  }

  .demo-modal-content {
    width: 95%;
    padding: 20px;
    margin: 10px;
    max-height: 85vh;
  }

  .video-container {
    width: 100%;
    padding-bottom: 56.25%;
  }

  .demo-description {
    max-width: 100%;
  }

  .demo-modal-header h2 {
    font-size: 1.5rem;
    padding-right: 40px;
  }

  .demo-description p {
    font-size: 1rem;
  }

  .feature-section {
    padding: 15px;
  }

  .feature-section h3 {
    font-size: 1.1rem;
  }

  .demo-modal .close-modal {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* Custom Scrollbar for Modal */
.demo-modal-content::-webkit-scrollbar {
  width: 8px;
}

.demo-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.demo-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 247, 255, 0.5);
  border-radius: 4px;
}

.demo-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 247, 255, 0.7);
}

/* Updated Demo Modal Styles */
.main-description {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
  text-align: start;
  padding: 0 15px;
}

.feature-section {
  background: rgba(0, 247, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  margin: 25px auto;
  max-width: 90%;
  border-left: 4px solid #00f7ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-section h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.feature-content {
  margin-top: 20px;
}

.feature-text {
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.additional-notes {
  background: rgba(0, 247, 255, 0.08);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  font-style: italic;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-section {
    padding: 20px;
    max-width: 95%;
  }

  .feature-section h3 {
    font-size: 1.2rem;
  }

  .main-description {
    font-size: 1.1rem;
    padding: 0 10px;
  }
}

/* New Pricing Modal Specific Styles */
.pricing-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.pricing-modal-wrapper .modal-inner {
  background-color: white;
  max-width: 1400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
}

.pricing-modal-wrapper .modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pricing-modal-wrapper .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  position: relative;
  overflow: hidden;
  min-height: auto !important;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-content {
  text-align: center;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.contact-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.icon-wrapper img {
  width: 40px;
  height: 40px;
}

.contact-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.whatsapp .contact-button {
  background: #128C7E;
  color: white;
}

.instagram .contact-button {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.contact-button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-cards-container {
    padding: 0 20px;
  }

  .contact-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .contact-card:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-card {
    width: 90%;
    max-width: 300px;
  }
}

.contact-title {
  position: relative;
  background: linear-gradient(120deg, #fff, #00f7ff, #fff);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 3s linear infinite, float 4s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f7ff, transparent);
  animation: underlineExpand 1.5s ease-out forwards;
}

@keyframes shine {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes underlineExpand {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100px;
    opacity: 1;
  }
}

/* ============================================
   MODERN ABOUT SECTION - Scroll Animations
   ============================================ */

.about-modern {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 247, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* About Header */
.about-header {
  text-align: center;
  margin-bottom: 90px;
}

.about-main-title {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f9ff 40%, #00f7ff 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.about-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
  font-weight: 400;
}

/* About Block Base Styles */
.about-block {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-bottom: 80px;
  position: relative;
}

.about-block:last-child {
  margin-bottom: 0;
}

/* Scroll Reveal Animation States */
.scroll-reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
}

/* Center Block */
.about-block-center {
  justify-content: center;
  text-align: center;
}

.about-block-center .about-block-content {
  max-width: 700px;
}

.about-block-center.scroll-reveal {
  transform: translateY(60px);
}

.about-block-center.scroll-reveal.revealed {
  transform: translateY(0);
}

/* Left Block - Slides from Left */
.about-block-left {
  flex-direction: row;
}

.about-block-left.scroll-reveal {
  transform: translateX(-100px);
}

.about-block-left.scroll-reveal.revealed {
  transform: translateX(0);
}

/* Right Block - Slides from Right */
.about-block-right {
  flex-direction: row;
}

.about-block-right.scroll-reveal {
  transform: translateX(100px);
}

.about-block-right.scroll-reveal.revealed {
  transform: translateX(0);
}

/* Block Visual */
.about-block-visual {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
}

.feature-icon-large {
  font-size: 6rem;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.15) 0%, rgba(0, 247, 255, 0.05) 100%);
  border-radius: 30px;
  border: 2px solid rgba(0, 247, 255, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 247, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.about-block:hover .feature-icon-large {
  transform: scale(1.05) rotate(3deg);
  border-color: rgba(0, 247, 255, 0.6);
  box-shadow: 
    0 25px 80px rgba(0, 247, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Block Content */
.about-block-content {
  flex: 1;
  padding: 48px 52px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: all 0.45s ease;
}

.about-block:hover .about-block-content {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 247, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.about-block-wide {
  max-width: 800px;
}

.about-block-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00f7ff;
  background: rgba(0, 247, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.about-block-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
}

.about-block-subtitle {
  font-size: 1rem;
  color: rgba(0, 247, 255, 0.8);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-block-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  font-weight: 400;
}

/* Icon Wrapper for Center Blocks */
.about-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.2) 0%, rgba(0, 247, 255, 0.05) 100%);
  border-radius: 50%;
  border: 2px solid rgba(0, 247, 255, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(0, 247, 255, 0); }
}

.about-icon-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.about-icon-row img {
  transition: transform 0.3s ease;
}

.about-icon-row img:hover {
  transform: scale(1.2) rotate(10deg);
}

/* Demo Preview Image Styles */
.demo-preview-image {
  width: 400px;
  height: 300px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 247, 255, 0.07);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-preview-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  transition: all 0.3s ease;
}

.demo-preview-image:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: rgba(0, 247, 255, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 247, 255, 0.14);
}

.demo-preview-image:hover::before {
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.demo-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.demo-preview-image:hover .demo-preview-overlay {
  opacity: 1;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 247, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 10px;
  box-shadow: 0 5px 20px rgba(0, 247, 255, 0.4);
  transition: all 0.3s ease;
}

.demo-preview-image:hover .play-icon {
  transform: scale(1.1);
}

.demo-preview-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Feature List */
.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.about-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00f7ff;
  font-weight: bold;
}

/* About Demo Button */
.about-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(0, 247, 255, 0.5);
  color: #00f7ff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.about-demo-btn:hover {
  background: rgba(0, 247, 255, 0.1);
  border-color: #00f7ff;
  transform: translateX(5px);
}

.about-demo-btn svg {
  transition: transform 0.3s ease;
}

.about-demo-btn:hover svg {
  transform: translateX(5px);
}

/* Decorative Lines */
.about-block-left::before,
.about-block-right::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(0, 247, 255, 0.3), transparent);
}

.about-block-left::before {
  left: 135px;
}

.about-block-right::before {
  right: 135px;
}

/* ============================================
   RESPONSIVE STYLES FOR ABOUT SECTION
   ============================================ */

@media (max-width: 1024px) {
  .about-block {
    gap: 50px;
    margin-bottom: 70px;
  }

  .about-block-visual {
    flex: 0 0 260px;
    min-width: 240px;
  }

  .demo-preview-image {
    width: 300px;
    height: 230px;
  }

  .feature-icon-large {
    width: 140px;
    height: 140px;
    font-size: 4.5rem;
  }

  .about-main-title {
    font-size: 3.2rem;
    letter-spacing: -1.5px;
  }

  .about-block-title {
    font-size: 1.9rem;
  }

  .about-block-left::before {
    left: 125px;
  }

  .about-block-right::before {
    right: 125px;
  }
}

@media (max-width: 768px) {
  .about-modern {
    padding: 80px 0;
  }

  .about-header {
    margin-bottom: 56px;
  }

  .about-main-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .about-tagline {
    font-size: 1rem;
    letter-spacing: 0.1px;
  }
  
  .about-block {
    flex-direction: column !important;
    gap: 25px;
    margin-bottom: 50px;
  }
  
  .about-block-left.scroll-reveal,
  .about-block-right.scroll-reveal {
    transform: translateY(50px);
  }
  
  .about-block-left.scroll-reveal.revealed,
  .about-block-right.scroll-reveal.revealed {
    transform: translateY(0);
  }
  
  .about-block-visual {
    flex: 0 0 auto;
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .demo-preview-image {
    width: 100%;
    max-width: 380px;
    min-width: unset;
    height: 240px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .demo-preview-overlay {
    opacity: 1;
  }
  
  .play-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .feature-icon-large {
    width: 120px;
    height: 120px;
    font-size: 4rem;
    border-radius: 25px;
  }
  
  .about-block-content {
    padding: 30px 28px;
    text-align: center;
    width: 100%;
  }

  .about-feature-list {
    text-align: left;
    max-width: 320px;
    margin: 20px auto;
  }

  .about-demo-btn {
    width: 100%;
    justify-content: center;
  }

  .about-block-title {
    font-size: 1.7rem;
    letter-spacing: -0.5px;
  }

  .about-block-text {
    font-size: 1rem;
  }
  
  .about-block-left::before,
  .about-block-right::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-main-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .about-tagline {
    font-size: 0.95rem;
  }

  .demo-preview-image {
    max-width: 100%;
    min-width: unset;
    height: 200px;
  }
  
  .feature-icon-large {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }
  
  .about-block-content {
    padding: 20px;
  }
  
  .about-block-title {
    font-size: 1.4rem;
  }
  
  .about-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .about-icon-wrapper img {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Legacy About Section Styles (keeping for backwards compatibility) */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   DEMO SECTION - Product Showcases
   ============================================ */

.demo-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(0, 247, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 247, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Demo Header */
.demo-header {
  text-align: center;
  margin-bottom: 90px;
}

.demo-main-title {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f9ff 40%, #00f7ff 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

.demo-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
  font-weight: 400;
}

/* Demo Block Base Styles */
.demo-block {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-bottom: 110px;
  position: relative;
}

.demo-block:last-child {
  margin-bottom: 0;
}

/* Left Block - Slides from Left */
.demo-block-left {
  flex-direction: row;
}

.demo-block-left.scroll-reveal {
  transform: translateX(-100px);
}

.demo-block-left.scroll-reveal.revealed {
  transform: translateX(0);
}

/* Right Block - Slides from Right */
.demo-block-right {
  flex-direction: row;
}

.demo-block-right.scroll-reveal {
  transform: translateX(100px);
}

.demo-block-right.scroll-reveal.revealed {
  transform: translateX(0);
}

/* Demo Block Visual */
.demo-block-visual {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 380px;
}

/* Demo Block Content */
.demo-block-content {
  flex: 1;
  padding: 48px 52px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: all 0.45s ease;
}

.demo-block:hover .demo-block-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 247, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.demo-block-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0, 247, 255, 0.85);
  background: rgba(0, 247, 255, 0.08);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 247, 255, 0.15);
}

.demo-block-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.1;
}

.demo-block-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.demo-block-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  font-weight: 400;
}

/* Demo Feature List */
.demo-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.demo-feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.demo-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00f7ff;
  font-weight: bold;
}

/* Demo Explore Button */
.demo-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 247, 255, 0.06);
  border: 1px solid rgba(0, 247, 255, 0.3);
  color: #00f7ff;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
  letter-spacing: 0.1px;
}

.demo-explore-btn:hover {
  background: rgba(0, 247, 255, 0.12);
  border-color: rgba(0, 247, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 247, 255, 0.12);
}

.demo-explore-btn svg {
  transition: transform 0.3s ease;
}

.demo-explore-btn:hover svg {
  transform: translateX(5px);
}

/* Decorative Lines for Demo Blocks */
.demo-block-left::before,
.demo-block-right::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(0, 247, 255, 0.3), transparent);
}

.demo-block-left::before {
  left: 135px;
}

.demo-block-right::before {
  right: 135px;
}

/* ============================================
   RESPONSIVE STYLES FOR DEMO SECTION
   ============================================ */

@media (max-width: 1024px) {
  .demo-section {
    padding: 90px 0;
  }

  .demo-header {
    margin-bottom: 70px;
  }

  .demo-main-title {
    font-size: 3.2rem;
    letter-spacing: -1.5px;
  }

  .demo-block {
    gap: 50px;
    margin-bottom: 80px;
  }

  .demo-block-visual {
    flex: 0 0 300px;
    min-width: 280px;
  }

  .demo-block-title {
    font-size: 2.2rem;
  }

  .demo-block-left::before {
    left: 140px;
  }

  .demo-block-right::before {
    right: 140px;
  }
}

@media (max-width: 768px) {
  .demo-section {
    padding: 80px 0;
  }

  .demo-header {
    margin-bottom: 56px;
  }

  .demo-main-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .demo-tagline {
    font-size: 1rem;
    letter-spacing: 0.1px;
  }
  
  .demo-block {
    flex-direction: column !important;
    gap: 25px;
    margin-bottom: 50px;
  }
  
  .demo-block-left.scroll-reveal,
  .demo-block-right.scroll-reveal {
    transform: translateY(50px);
  }
  
  .demo-block-left.scroll-reveal.revealed,
  .demo-block-right.scroll-reveal.revealed {
    transform: translateY(0);
  }
  
  .demo-block-visual {
    flex: 0 0 auto;
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    min-width: unset;
  }
  
  .demo-block-content {
    padding: 30px 28px;
    text-align: center;
    width: 100%;
  }

  .demo-feature-list {
    text-align: left;
    max-width: 320px;
    margin: 20px auto;
  }

  .demo-explore-btn {
    width: 100%;
    justify-content: center;
  }

  .demo-block-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .demo-block-text {
    font-size: 1rem;
  }
  
  .demo-block-left::before,
  .demo-block-right::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .demo-main-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .demo-tagline {
    font-size: 0.95rem;
  }

  .demo-block-content {
    padding: 24px 20px;
  }

  .demo-block-title {
    font-size: 1.7rem;
    letter-spacing: -0.5px;
  }
}

.section-title {
  color: #00f7ff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 247, 255, 0.5);
  border-radius: 3px;
}

.story-text,
.vision-text,
.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.story-section,
.vision-section,
.mission-section {
  position: relative;
  padding: 0 15px 15px 15px;
  border-left: 3px solid rgba(0, 247, 255, 0.3);
  margin-left: 15px;
  transition: all 0.3s ease;
}

.story-section:hover,
.vision-section:hover,
.mission-section:hover {
  border-left-color: #00f7ff;
  transform: translateX(5px);
}

.highlight-text {
  font-size: 1.2rem;
  color: #00f7ff;
  font-weight: 500;
  padding: 1rem;
  background: rgba(0, 247, 255, 0.1);
  border-radius: 8px;
  border-left: 4px solid #00f7ff;
  position: relative;
  overflow: hidden;
}

.highlight-text::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: shimmer 5s infinite linear;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }

  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.story-text img,
.vision-text img,
.mission-text img {
  vertical-align: middle;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.story-text img:hover,
.vision-text img:hover,
.mission-text img:hover {
  transform: scale(1.2) rotate(10deg);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Responsive Adjustments for About Section */
@media (max-width: 768px) {
  .about {
    opacity: 1 !important;
  }

  .about-content {
    padding: 15px;
  }

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

  .story-text,
  .vision-text,
  .mission-text {
    font-size: 1rem;
  }

  .highlight-text {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .lead {
    font-size: 1.15rem;
  }
}

/* ============================================
   ENHANCED UI/UX UPGRADES 2026
   Premium polish, depth, micro-interactions
   ============================================ */

/* ---------- Animated Gradient Mesh Background ---------- */
.landing-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 247, 255, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(100, 0, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(0, 180, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle noise texture overlay for depth */
.landing-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%270 0 256 256%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27noise%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.65%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23noise%29%27/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Enhanced Header ---------- */
header {
  background: rgba(5, 5, 20, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 247, 255, 0.06);
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.3), rgba(100, 0, 255, 0.15), transparent);
  pointer-events: none;
}

/* Enhanced Logo */
.logo {
  font-size: 22px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, #00f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo b {
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced Nav links */
.links a {
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Hero Enhancements ---------- */

/* Animated badge pulse ring */
.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.15); }
  50% { box-shadow: 0 0 0 10px rgba(0, 247, 255, 0); }
}

/* CTA shimmer sweep */
.hero-cta-primary {
  position: relative;
  overflow: hidden;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: ctaShimmer 3s ease-in-out infinite;
}

@keyframes ctaShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Floating decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(0, 247, 255, 0.12);
  top: 8%;
  right: 8%;
  animation: orbFloat1 16s ease-in-out infinite;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(100, 0, 255, 0.08);
  bottom: 15%;
  left: 3%;
  animation: orbFloat2 20s ease-in-out infinite;
}

.hero-orb-3 {
  width: 130px;
  height: 130px;
  background: rgba(0, 200, 255, 0.10);
  top: 55%;
  right: 35%;
  animation: orbFloat3 13s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -25px); }
  66% { transform: translate(-20px, 15px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-25px, 20px); }
  66% { transform: translate(15px, -30px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -18px); }
}

/* Enhance the hero glow */
.hero-glow {
  background: radial-gradient(circle, rgba(0, 247, 255, 0.25) 0%, rgba(100, 0, 255, 0.05) 50%, transparent 70%);
}

/* Enhanced floating cards - glass border effect */
.floating-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.floating-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 247, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 247, 255, 0.15);
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-strip-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-strip-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.trust-stats {
  display: flex;
  gap: 45px;
  align-items: center;
}

.trust-stat {
  text-align: center;
  position: relative;
}

.trust-stat::after {
  content: '';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-stat:last-child::after {
  display: none;
}

.trust-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.trust-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
  display: block;
}

/* ---------- Section Header Accents ---------- */
.about-header::after,
.demo-header::after,
.pricing-header::after,
.contact-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f7ff, rgba(100, 0, 255, 0.5), transparent);
  border-radius: 2px;
  margin: 14px auto 0;
  opacity: 0.7;
}

/* Dot-grid pattern behind sections */
.pricing-modern::after,
.about-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ---------- Enhanced Card Interactions ---------- */

/* About & Demo block hover glow */
.about-block:hover .about-block-content {
  box-shadow: 0 20px 60px rgba(0, 247, 255, 0.06), 0 0 0 1px rgba(0, 247, 255, 0.08);
}

.demo-block:hover .demo-block-content {
  box-shadow: 0 20px 60px rgba(0, 247, 255, 0.06), 0 0 0 1px rgba(0, 247, 255, 0.08);
}

/* Pricing card glow */
.pricing-plan:hover {
  box-shadow: 0 25px 60px rgba(0, 247, 255, 0.10), 0 0 0 1px rgba(0, 247, 255, 0.12);
}

.pricing-plan.featured {
  box-shadow: 0 0 0 1px rgba(0, 247, 255, 0.15), 0 10px 40px rgba(0, 247, 255, 0.06);
}

/* Pricing plan icon hover */
.pricing-plan:hover .plan-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 247, 255, 0.15);
  transition: all 0.4s ease;
}

/* Contact card hover glow */
.contact-card-modern.whatsapp:hover {
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.12), 0 0 0 1px rgba(37, 211, 102, 0.15);
}

.contact-card-modern.instagram:hover {
  box-shadow: 0 20px 60px rgba(225, 48, 108, 0.12), 0 0 0 1px rgba(225, 48, 108, 0.15);
}

/* Enhanced feature list markers */
.demo-feature-list li::before,
.about-feature-list li::before {
  text-shadow: 0 0 8px rgba(0, 247, 255, 0.4);
}

.feature-included .feature-icon {
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.12);
}

/* Enhanced demo preview image */
.demo-preview-image {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-preview-image:hover {
  box-shadow:
    0 20px 60px rgba(0, 247, 255, 0.12),
    0 0 0 1px rgba(0, 247, 255, 0.08);
}

/* Smoother section reveal transitions */
section {
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f7ff, #00b8d4);
  border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #33f9ff, #7b00ff);
}

/* ---------- Footer ---------- */
.landing-footer {
  position: relative;
  z-index: 2;
  padding: 60px 0 30px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff 30%, #00f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo b {
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #00f7ff;
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  margin: 0;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(0, 247, 255, 0.1);
  border-color: rgba(0, 247, 255, 0.3);
  transform: translateY(-3px);
}

/* ---------- Scroll-to-Top Button ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(5, 5, 20, 0.7);
  border: 1px solid rgba(0, 247, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(0, 247, 255, 0.15);
  border-color: rgba(0, 247, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 247, 255, 0.2);
}

.scroll-to-top svg {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

/* ---------- Responsive for New Elements ---------- */
@media (max-width: 768px) {
  .trust-strip {
    padding: 30px 0;
  }

  .trust-strip-content {
    flex-direction: column;
    gap: 20px;
  }

  .trust-stats {
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-stat::after {
    display: none;
  }

  .trust-stat-number {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-group {
    width: 100%;
    justify-content: center;
    gap: 40px;
  }

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

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

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .hero-orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    gap: 20px;
  }

  .footer-links-group {
    gap: 30px;
  }
}

/* ============================================
   APPLE-INSPIRED GLOBAL POLISH
   ============================================ */

/* Responsive container padding */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

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

/* Smoother, more refined scroll-reveal */
.scroll-reveal {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* About/Demo block label unified style */
.about-block-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0, 247, 255, 0.85);
  background: rgba(0, 247, 255, 0.08);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 247, 255, 0.15);
}

/* Premium feature list styling */
.demo-feature-list li,
.about-feature-list li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Refined plan badge */
.plan-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 18px;
}

/* Premium footer logo */
.footer-logo {
  font-size: 24px;
  letter-spacing: -0.5px;
}

/* Subtle section dividers */
.about-modern,
.pricing-modern {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Refined floating card text */
.floating-card span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.9);
}

/* Enhanced plan price period */
.price-period {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* Refined demo modal */
.demo-modal-header h2 {
  letter-spacing: -0.5px;
  font-weight: 700;
}

/* Refined hero badge icon */
.badge-icon {
  font-size: 1rem;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000 repeat top center;
}

/* ============================================
   MODERN SIGNIN PAGE - MATCHING LANDING STYLE
   ============================================ */

/* Animated Background Gradients */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 247, 255, 0.3); }
  50% { box-shadow: 0 0 50px rgba(0, 247, 255, 0.5), 0 0 80px rgba(0, 247, 255, 0.2); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(0, 247, 255, 0.3); }
  50% { border-color: rgba(0, 247, 255, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -10000px 5000px;
  }
}

/* Main Container Styling */
.signin-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Background Glow Effects */
.signin-container::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 247, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 247, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(100, 100, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite;
}

/* Floating Orbs */
.signin-container::after {
  content: '';
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 247, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  right: -10%;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Form Styling */
#sign-form {
  padding: clamp(15px, 2.5vh, 30px) clamp(20px, 3vw, 35px);
  border-radius: clamp(16px, 2vh, 24px);
  width: 100%;
  max-width: min(450px, 90vw);
  max-height: 95vh;
  overflow-y: auto;
  z-index: 2;
  background: linear-gradient(145deg, rgba(15, 15, 25, 0.9) 0%, rgba(5, 5, 15, 0.95) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 247, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 247, 255, 0.2);
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  position: relative;
  overflow: hidden;
}

#sign-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.05), transparent);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

#sign-form:hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 247, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 247, 255, 0.35);
}

/* Form Toggle Styling */
.form-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(12px, 2vh, 20px);
  background: linear-gradient(145deg, rgba(30, 30, 45, 0.6) 0%, rgba(15, 15, 25, 0.8) 100%);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(0, 247, 255, 0.15);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.form-toggle {
  padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 30px);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.8vh, 1rem);
  border-radius: 45px;
  position: relative;
  overflow: hidden;
}

.form-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.2) 0%, rgba(0, 180, 220, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-toggle.active {
  background: linear-gradient(135deg, var(--ep-glow) 0%, var(--ep-glow) 100%);
  box-shadow: 
    0 8px 25px rgba(0, 247, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #000;
  transform: scale(1.02);
}

.form-toggle.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.form-toggle:not(.active):hover {
  background: rgba(0, 247, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.form-toggle:not(.active):hover::before {
  opacity: 1;
}

/* Form Fields Styling */
.form-group {
  margin-bottom: clamp(12px, 2vh, 18px);
  position: relative;
}

.form-group label {
  margin-bottom: clamp(6px, 1vh, 10px);
  display: block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 1.6vh, 0.95rem);
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: clamp(10px, 1.5vh, 14px) clamp(14px, 2vw, 18px);
  border-radius: clamp(10px, 1.5vh, 12px);
  border: 2px solid #ccc;
  background: white;
  color: var(--ep-elevated) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: clamp(14px, 1.8vh, 16px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-control:focus {
  outline: none;
  border-color: var(--ep-glow);
  box-shadow:
    0 0 0 4px rgba(0, 247, 255, 0.15),
    0 0 20px rgba(0, 247, 255, 0.2);
  background: white;
  transform: translateY(-2px);
}

.form-control:hover:not(:focus) {
  border-color: rgba(0, 247, 255, 0.4);
  background: white;
}

/* Google Sign In Button */
.google-signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.5vh, 14px) clamp(16px, 2.5vw, 20px);
  border-radius: 50px;
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
  border: none;
  width: 100%;
  max-width: 420px;
  font-size: clamp(14px, 1.8vh, 16px);
  font-weight: 600;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #4a5568;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 auto clamp(12px, 2vh, 18px);
  position: relative;
  overflow: hidden;
}

.google-signin-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.google-signin-button:hover::before {
  left: 100%;
}

.google-signin-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(0, 247, 255, 0.15);
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
}

.google-signin-button:active {
  transform: translateY(1px) scale(0.98);
}

.google-signin-button svg {
  font-size: 22px;
  margin-right: 10px;
}

/* Or Separator */
.or-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: clamp(12px, 2vh, 18px) 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(12px, 1.6vh, 14px);
  font-weight: 500;
}

.or-separator::before,
.or-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.3), transparent);
  margin: 0 20px;
}

/* Submit Button Animation */
#submit {
  width: 100%;
  padding: clamp(14px, 2vh, 18px);
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  height: clamp(50px, 7vh, 65px);
  margin-top: clamp(8px, 1.5vh, 12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: clamp(12px, 1.8vh, 16px);
}

#submit:hover {
  transform: translateY(-3px);
}

#submit:active {
  transform: translateY(1px);
}

#rectwrap {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
}

#rectwrap rect {
  rx: 16;
  ry: 16;
}

.siz {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.siz svg {
  filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.6));
  transition: filter 0.3s ease;
}

.siz:hover svg {
  filter: drop-shadow(0 0 20px rgba(0, 247, 255, 0.9));
}

/* Loading Animation */
#load {
  position: relative;
  width: 100%;
  height: clamp(50px, 7vh, 65px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(10px, 1.5vh, 15px) 0;
  background: linear-gradient(145deg, rgba(0, 247, 255, 0.05) 0%, rgba(0, 180, 220, 0.02) 100%);
  border-radius: clamp(12px, 1.8vh, 16px);
  border: 1px solid rgba(0, 247, 255, 0.2);
}

#load div {
  position: absolute;
  width: 20px;
  height: 36px;
  opacity: 0;
  font-family: Helvetica, Arial, sans-serif;
  animation: move 2s linear infinite;
  transform: rotate(180deg);
  color: var(--ep-glow);
  text-shadow: 0 0 15px rgba(0, 247, 255, 0.9), 0 0 30px rgba(0, 247, 255, 0.5);
}

#load div:nth-child(2) {
  animation-delay: 0.2s;
}

#load div:nth-child(3) {
  animation-delay: 0.4s;
}

#load div:nth-child(4) {
  animation-delay: 0.6s;
}

#load div:nth-child(5) {
  animation-delay: 0.8s;
}

#load div:nth-child(6) {
  animation-delay: 1s;
}

#load div:nth-child(7) {
  animation-delay: 1.2s;
}

@keyframes move {
  0% {
    left: 0;
    opacity: 0;
  }

  35% {
    left: 41%;
    transform: rotate(0deg);
    opacity: 1;
  }

  65% {
    left: 59%;
    transform: rotate(0deg);
    opacity: 1;
  }

  100% {
    left: 100%;
    transform: rotate(-180deg);
    opacity: 0;
  }
}

/* Signup Wheel Animation */
.signup-wheel {
  width: 35px;
  height: 35px;
  color: var(--ep-glow);
  animation: spin 2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.7));
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Social Icons */
.social-icon {
  margin-top: clamp(15px, 2.5vh, 22px);
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
}

.social-icon a {
  color: var(--ep-text);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vh, 48px);
  height: clamp(40px, 5vh, 48px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon a:hover {
  transform: translateY(-5px) scale(1.1);
  opacity: 1;
  color: var(--ep-glow);
  background: rgba(0, 247, 255, 0.1);
  border-color: rgba(0, 247, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 247, 255, 0.3);
}

.social-icon .fs-1 {
  font-size: 28px !important;
  filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.5));
}

/* Error and Verification Messages */
.alert {
  border-radius: clamp(10px, 1.5vh, 12px);
  padding: clamp(10px, 1.5vh, 14px) clamp(14px, 2vw, 18px);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.6vh, 0.95rem);
  margin-top: clamp(10px, 1.5vh, 15px);
  animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .alert {
    border-radius: 12px;
    padding: 12px 15px;
    font-weight: 500;
    margin: 0 !important;
  }
}

.alert-danger {
  background: linear-gradient(145deg, rgba(220, 53, 69, 0.2) 0%, rgba(180, 30, 50, 0.15) 100%);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff6b6b;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

.alert-success {
  background: linear-gradient(145deg, rgba(40, 167, 69, 0.2) 0%, rgba(30, 140, 50, 0.15) 100%);
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #75e900;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

/* Password Requirements Tooltip */
.alert-link.alert-danger {
  position: absolute;
  z-index: 5;
  width: 290px;
  background: linear-gradient(145deg, rgba(33, 33, 45, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
  border: 1px solid rgba(220, 53, 69, 0.4);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(220, 53, 69, 0.15);
  font-size: 0.85rem !important;
  max-width: 300px;
  border-radius: 12px;
  backdrop-filter: blur(15px);
}

.alert-link.alert-danger ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.alert-link.alert-danger ul li {
  margin: 8px 0;
  transition: color 0.3s ease;
}

.alert-link.alert-danger ul li:hover {
  color: #ff8a8a;
}

/* Consent Form Styling */
.signupin-consent-form {
  background: linear-gradient(145deg, rgba(15, 15, 25, 0.95) 0%, rgba(5, 5, 15, 0.98) 100%);
  backdrop-filter: blur(25px);
  border-radius: clamp(16px, 2vh, 24px);
  padding: clamp(15px, 2.5vh, 28px) clamp(18px, 3vw, 32px);
  width: min(92%, 750px);
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 247, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 247, 255, 0.2);
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  position: relative;
}

.signupin-consent-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ep-glow), transparent);
  border-radius: 24px 24px 0 0;
}

.signupin-consent-form:hover {
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(0, 247, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 247, 255, 0.35);
}

.signupin-consent-form .alert {
  background-color: transparent;
  border: none;
  padding: 0;
}

.signupin-consent-form ul {
  padding-left: 0;
  list-style-type: none;
}

.signupin-consent-li {
  position: relative;
  padding: clamp(10px, 1.5vh, 16px) clamp(10px, 2vw, 18px) clamp(10px, 1.5vh, 16px) clamp(25px, 4vw, 38px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 3px solid var(--ep-glow);
  background: linear-gradient(145deg, rgba(0, 247, 255, 0.05) 0%, rgba(0, 180, 220, 0.02) 100%);
  border-radius: clamp(10px, 1.5vh, 12px);
  font-size: clamp(0.85rem, 1.7vh, 1.05rem) !important;
  margin: clamp(10px, 1.5vh, 14px) 0;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signupin-consent-li:hover {
  background: linear-gradient(145deg, rgba(0, 247, 255, 0.1) 0%, rgba(0, 180, 220, 0.05) 100%);
  transform: translateX(5px);
  border-left-color: var(--ep-glow);
  box-shadow: 
    0 8px 30px rgba(0, 247, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Modern Consent Button */
.consent-btn {
  background: linear-gradient(135deg, var(--ep-glow) 0%, var(--ep-glow) 100%) !important;
  color: #000 !important;
  padding: clamp(12px, 1.8vh, 16px) clamp(35px, 5vw, 50px) !important;
  border-radius: 50px !important;
  font-size: clamp(1rem, 2vh, 1.2rem) !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 
    0 10px 35px rgba(0, 247, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.consent-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.consent-btn:hover::before {
  width: 300px;
  height: 300px;
}

.consent-btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 
    0 15px 45px rgba(0, 247, 255, 0.5),
    0 0 30px rgba(0, 247, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.consent-btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Announcement Modal Styling */
.announcement-modal-content {
  background: linear-gradient(145deg, rgba(15, 15, 25, 0.98) 0%, rgba(5, 5, 15, 0.99) 100%) !important;
  backdrop-filter: blur(25px);
  border-radius: 24px;
  border: 1px solid rgba(0, 247, 255, 0.2);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 247, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  max-height: 75vh;
  width: min(95%, 600px);
  overflow-y: auto;
}

.announcement-item {
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 247, 255, 0.15);
  background: linear-gradient(145deg, rgba(30, 30, 45, 0.5) 0%, rgba(15, 15, 25, 0.6) 100%);
}

.announcement-item:hover {
  border-color: rgba(0, 247, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
  transform: translateY(-2px);
}

.announcement-header {
  padding: 18px;
  background: linear-gradient(145deg, rgba(40, 40, 60, 0.6) 0%, rgba(25, 25, 40, 0.7) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.announcement-header:hover {
  background: linear-gradient(145deg, rgba(50, 50, 75, 0.7) 0%, rgba(35, 35, 55, 0.8) 100%) !important;
}

.announcement-content {
  padding: 18px;
  background: linear-gradient(145deg, rgba(25, 25, 40, 0.6) 0%, rgba(15, 15, 25, 0.7) 100%);
  border-top: 1px solid rgba(0, 247, 255, 0.1);
}

.announcement-modal-content::-webkit-scrollbar {
  width: 8px;
}

.announcement-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.announcement-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ep-glow) 0%, var(--ep-glow) 100%);
  border-radius: 4px;
}

.announcement-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--ep-glow) 0%, #00d4e6 100%);
}

.announcement-modal-content .btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.announcement-modal-content .btn-info {
  background: linear-gradient(135deg, var(--ep-glow) 0%, var(--ep-glow) 100%);
  border: none;
  color: #000;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 247, 255, 0.3);
}

.announcement-modal-content .btn-info:hover {
  box-shadow: 0 12px 35px rgba(0, 247, 255, 0.4);
}

.announcement-modal-content .btn-secondary {
  background: linear-gradient(145deg, rgba(80, 80, 100, 0.3) 0%, rgba(50, 50, 70, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.announcement-modal-content .btn-secondary:hover {
  background: linear-gradient(145deg, rgba(100, 100, 120, 0.4) 0%, rgba(70, 70, 90, 0.5) 100%);
  border-color: rgba(255, 255, 255, 0.25);
}

.announcement-modal-content .btn:hover {
  transform: translateY(-3px);
}

/* Navigation and Language Toggle */
.home-btn,
.language-btn-div button {
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.6) 0%, rgba(15, 15, 30, 0.7) 100%);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(0, 247, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 5px;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.home-btn:hover,
.language-btn-div button:hover {
  background: linear-gradient(145deg, rgba(0, 247, 255, 0.15) 0%, rgba(0, 180, 220, 0.1) 100%);
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(0, 247, 255, 0.4);
  box-shadow: 
    0 10px 30px rgba(0, 247, 255, 0.2),
    0 0 15px rgba(0, 247, 255, 0.1);
}

.home-btn:active,
.language-btn-div button:active {
  transform: translateY(1px) scale(0.98);
}

.language-btn-div {
  display: flex;
  z-index: 1;
  gap: 8px;
}

.language-btn-div button span {
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  #sign-form {
    max-height: 98vh;
  }

  .signupin-consent-form {
    width: 95%;
    max-height: 98vh;
  }

  .social-icon {
    margin-bottom: clamp(15px, 3vh, 25px);
  }

  .alert-link.alert-danger {
    width: 95%;
    left: 2.5%;
  }
}

/* Adjust button sizes */
.home-btn,
.language-btn-div button {
  width: clamp(38px, 5vh, 44px);
  height: clamp(38px, 5vh, 44px);
  min-width: 38px;
  min-height: 38px;
}

/* Additional Fancy Effects */

/* Glow effect on form focus */
#sign-form:focus-within {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Consent form scrollbar */
.signupin-consent-form::-webkit-scrollbar {
  width: 6px;
}

.signupin-consent-form::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.signupin-consent-form::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ep-glow) 0%, var(--ep-glow) 100%);
  border-radius: 3px;
}

/* Verification message floating style */
.verification-floating {
  animation: slideInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(15px);
  border-radius: 16px;
}

/* Focus ring enhancement */
*:focus-visible {
  outline: 2px solid rgba(0, 247, 255, 0.5);
  outline-offset: 3px;
}
.ep-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--ep-border);
  background: var(--ep-surface-2);
  color: var(--ep-accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.ep-theme-toggle:hover {
  background: var(--ep-surface-3);
  border-color: var(--ep-accent);
}

.ep-theme-toggle:active {
  transform: scale(0.97);
}

.ep-theme-toggle svg {
  flex-shrink: 0;
}

.ep-theme-toggle-label {
  color: var(--ep-text);
}

/* Compact icon-only variant (e.g. fixed corner button) */
.ep-theme-toggle.icon-only {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* Floating placement used on marketing / auth pages that have no chrome. */
.ep-theme-toggle.floating {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  z-index: 1100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 123, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--ep-glow);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 10px;
}

.loading-text {
  color: var(--ep-glow);
  font-size: 18px;
  font-weight: 500;
  animation: dots 1.5s infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dots {
  0%, 20% {
    content: "Loading";
  }
  40% {
    content: "Loading.";
  }
  60% {
    content: "Loading..";
  }
  80%, 100% {
    content: "Loading...";
  }
}

/* Modern Subscription Transaction Styles matching Paper/Quota Transaction styles */

/* Base container styles */
.subscription-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.subscription-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.subscription-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.subscription-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.subscription-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.subscription-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.subscription-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.subscription-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.subscription-transaction-stripe-payment-spinner,
.subscription-transaction-stripe-payment-spinner:before,
.subscription-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.subscription-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.subscription-transaction-stripe-payment-spinner:before,
.subscription-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.subscription-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.subscription-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.subscription-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.subscription-transaction-stripe-payment-spinner-container .subscription-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: subscription-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes subscription-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.subscription-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: subscription-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.subscription-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.subscription-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.subscription-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.subscription-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.subscription-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.subscription-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.subscription-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.subscription-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.subscription-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.subscription-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.subscription-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.subscription-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Subscription Checkout container styles */
.subscription-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.subscription-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.subscription-transaction-checkout-container.subscription-transaction-loading, 
.subscription-transaction-checkout-container.subscription-transaction-error {
  text-align: center;
}

.subscription-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.subscription-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Subscription details styling */
.subscription-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.subscription-transaction-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
}

.subscription-transaction-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 0;
}

/* WeChat Pay QR code container */
.subscription-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.subscription-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.subscription-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subscription-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.subscription-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.subscription-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Animations */
@keyframes subscription-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes subscription-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .subscription-transaction-checkout-container {
    padding: 15px;
  }
  
  .subscription-transaction-details {
    padding: 15px;
  }
  
  .subscription-transaction-stripe-payment-form {
    min-width: unset;
    width: 90%;
    padding: 20px;
  }
  
  .subscription-transaction-checkout-container h2 {
    font-size: 22px;
  }
  
  .subscription-transaction-payment-status {
    width: 90vw;
    min-width: initial;
    padding: 30px;
  }
  
  .subscription-transaction-stripe-payment-heading {
    font-size: 22px;
  }
}

/* Modern Paper Transaction Styles matching Subscription styles */

/* Base container styles */
.paper-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.paper-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.paper-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.paper-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.paper-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.paper-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.paper-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.paper-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.paper-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.paper-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.paper-transaction-stripe-payment-spinner,
.paper-transaction-stripe-payment-spinner:before,
.paper-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.paper-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.paper-transaction-stripe-payment-spinner:before,
.paper-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.paper-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: paper-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: paper-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.paper-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: paper-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: paper-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.paper-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.paper-transaction-stripe-payment-spinner-container .paper-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: paper-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes paper-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.paper-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: paper-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.paper-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.paper-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.paper-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.paper-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.paper-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.paper-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.paper-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.paper-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.paper-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.paper-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.paper-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.paper-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.paper-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.paper-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Paper Checkout container styles */
.paper-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.paper-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.paper-transaction-checkout-container.paper-transaction-loading, 
.paper-transaction-checkout-container.paper-transaction-error {
  text-align: center;
}

.paper-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.paper-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Paper details styling */
.paper-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.paper-transaction-details-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.paper-transaction-details-row:last-child {
  border-bottom: none;
}

.paper-transaction-details-divider {
  border-top: 2px solid #e0e0e0;
  margin: 10px 0;
}

.paper-transaction-details-row.paper-transaction-total {
  font-weight: 600;
  font-size: 18px;
  border-bottom: none;
  padding-top: 15px;
}

.paper-transaction-fee-note {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0055DE;
}

.paper-transaction-fee-note small {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.4;
}

.paper-transaction-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
}

.paper-transaction-payment-details {
  margin-bottom: 25px;
  text-align: center;
}

.paper-transaction-payment-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.paper-transaction-payment-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 5px 0;
}

/* WeChat Pay QR code container */
.paper-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.paper-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.paper-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.paper-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.paper-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.paper-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Paper market modal styling */
.paper-transaction-payment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.paper-transaction-payment-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.paper-transaction-payment-modal h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.paper-transaction-payment-modal p {
  color: #6D6E78;
  margin-bottom: 25px;
  text-align: center;
  font-size: 16px;
}

.paper-transaction-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.paper-transaction-payment-method-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 120px;
}

.paper-transaction-payment-method-option:hover {
  background-color: #f8f9fa;
}

.paper-transaction-payment-method-option.selected {
  border-color: #0055DE;
  background-color: rgba(0, 85, 222, 0.05);
}

.paper-transaction-payment-method-option img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.paper-transaction-payment-method-option span {
  font-size: 14px;
  color: #30313D;
  text-align: center;
}

.paper-transaction-payment-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.paper-transaction-payment-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.paper-transaction-cancel-btn {
  background-color: #f2f2f2;
  border: none;
  color: #666;
}

.paper-transaction-cancel-btn:hover {
  background-color: #e5e5e5;
}

.paper-transaction-proceed-btn {
  background-color: #0055DE;
  border: none;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
}

.paper-transaction-proceed-btn:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
}

.paper-transaction-proceed-btn:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
  box-shadow: none;
}

/* Animations */
@keyframes paper-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes paper-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Modern Quota Transaction Styles matching Paper Transaction styles */

/* Base container styles */
.quota-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.quota-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quota-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.quota-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quota-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.quota-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.quota-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.quota-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.quota-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.quota-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.quota-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.quota-transaction-stripe-payment-spinner,
.quota-transaction-stripe-payment-spinner:before,
.quota-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.quota-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.quota-transaction-stripe-payment-spinner:before,
.quota-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.quota-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: quota-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: quota-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.quota-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: quota-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: quota-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.quota-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.quota-transaction-stripe-payment-spinner-container .quota-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: quota-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes quota-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.quota-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: quota-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.quota-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.quota-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.quota-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.quota-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.quota-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.quota-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.quota-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.quota-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.quota-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.quota-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.quota-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.quota-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.quota-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.quota-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Quota Checkout container styles */
.quota-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.quota-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.quota-transaction-checkout-container.quota-transaction-loading, 
.quota-transaction-checkout-container.quota-transaction-error {
  text-align: center;
}

.quota-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.quota-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Quota details styling */
.quota-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quota-transaction-details h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 700;
}

.quota-transaction-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quota-transaction-details-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.quota-transaction-details-row:last-child {
  border-bottom: none;
}

.quota-transaction-details-row.quota-transaction-total {
  border-top: 2px solid rgba(0, 85, 222, 0.3);
  margin-top: 10px;
  padding-top: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0055DE;
  border-bottom: none;
}

.quota-transaction-payment-details {
  margin-bottom: 25px;
  text-align: center;
}

.quota-transaction-payment-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.quota-transaction-payment-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 5px 0;
}

/* WeChat Pay QR code container */
.quota-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.quota-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.quota-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quota-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.quota-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.quota-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Animations */
@keyframes quota-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes quota-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Error page styles */
.quota-transaction-checkout-container.quota-transaction-error {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quota-transaction-error-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  animation: errorCardSlideIn 0.6s ease-out;
  border-left: 5px solid #dc3545;
  position: relative;
  overflow: hidden;
}

.quota-transaction-error-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
}

.quota-transaction-error-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 20px;
  animation: errorIconBounce 0.8s ease-out;
}

.quota-transaction-error-title {
  font-size: 28px;
  font-weight: 700;
  color: #dc3545;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Quicksand', sans-serif;
}

.quota-transaction-error-message {
  background-color: #fff5f5;
  border: 1px solid #ffe0e0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 30px;
  color: #721c24;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  word-break: break-word;
}

.quota-transaction-error-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-direction: column;
}

.quota-transaction-error-btn-primary,
.quota-transaction-error-btn-secondary {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quota-transaction-error-btn-primary {
  background: linear-gradient(135deg, #0055DE, #003aa3);
  color: white;
  box-shadow: 0 8px 16px rgba(0, 85, 222, 0.25);
}

.quota-transaction-error-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 85, 222, 0.35);
  filter: brightness(1.05);
}

.quota-transaction-error-btn-primary:active {
  transform: translateY(0);
}

.quota-transaction-error-btn-secondary {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #dee2e6;
}

.quota-transaction-error-btn-secondary:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-2px);
}

.quota-transaction-error-btn-secondary:active {
  transform: translateY(0);
}

/* Countdown timer */
.quota-transaction-error-countdown {
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.quota-transaction-error-countdown-text {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 12px 0;
  font-family: 'Quicksand', sans-serif;
}

.countdown-number {
  font-weight: 700;
  color: #dc3545;
  font-size: 18px;
  display: inline-block;
  min-width: 24px;
}

.countdown-bar {
  height: 3px;
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
  border-radius: 2px;
  transition: width 1s linear;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

/* Animations */
@keyframes errorCardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Responsive design */
@media (max-width: 768px) {
  .quota-transaction-checkout-container {
    padding: 15px;
  }

  .quota-transaction-details {
    padding: 15px;
  }

  .quota-transaction-stripe-payment-form {
    min-width: unset;
    width: 90%;
    padding: 20px;
  }

  .quota-transaction-checkout-container h2 {
    font-size: 22px;
  }

  .quota-transaction-error-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .quota-transaction-error-title {
    font-size: 22px;
  }

  .quota-transaction-error-message {
    font-size: 14px;
    padding: 14px 16px;
  }

  .quota-transaction-error-btn-primary,
  .quota-transaction-error-btn-secondary {
    font-size: 14px;
    padding: 11px 18px;
  }

  .quota-transaction-error-actions {
    gap: 10px;
  }
}

/* Stripe Connect Onboard Success Page Styles */

.stripe-connect-success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.stripe-connect-success-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

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

.stripe-connect-success-content {
  padding: 40px 30px;
  text-align: center;
}

/* Spinner Styles */
.success-spinner {
  margin-bottom: 30px;
}

.success-spinner .spinner-border {
  width: 4rem;
  height: 4rem;
  border-width: 0.3em;
}

/* Icon Styles */
.success-icon {
  margin-bottom: 30px;
  animation: bounceIn 0.8s ease-out 0.2s both;
}

.error-icon {
  margin-bottom: 30px;
  animation: shake 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Title Styles */
.success-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.success-title.processing {
  color: #6c757d;
  animation: pulse 2s infinite;
}

.success-title.completed {
  color: #28a745;
}

.success-title.error {
  color: #dc3545;
}

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

/* Message Styles */
.success-message {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.5;
}

.error-message {
  font-size: 16px;
  color: #dc3545;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

/* Success Details */
.success-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  animation: fadeInLeft 0.5s ease-out;
}

.detail-item:nth-child(1) {
  animation-delay: 0.3s;
}

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

.detail-item:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button Styles */
.retry-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-button:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.retry-button:active {
  transform: translateY(0);
}

/* Stripe Branding */
.stripe-branding {
  background: #f8f9fa;
  padding: 20px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.stripe-branding small {
  font-size: 12px;
  color: #6c757d;
}

/* Responsive Design */
@media (max-width: 576px) {
  .stripe-connect-success-container {
    padding: 15px;
  }
  
  .stripe-connect-success-content {
    padding: 30px 20px;
  }
  
  .success-title {
    font-size: 24px;
  }
  
  .success-message,
  .error-message {
    font-size: 14px;
  }
  
  .detail-item {
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* Loading animation for processing state */
.processing-dots {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.processing-dots div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #6c757d;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.processing-dots div:nth-child(1) {
  left: 8px;
  animation: processing1 0.6s infinite;
}

.processing-dots div:nth-child(2) {
  left: 8px;
  animation: processing2 0.6s infinite;
}

.processing-dots div:nth-child(3) {
  left: 32px;
  animation: processing2 0.6s infinite;
}

.processing-dots div:nth-child(4) {
  left: 56px;
  animation: processing3 0.6s infinite;
}

@keyframes processing1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes processing3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes processing2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

