/**
 * Saldoanalys - Main Stylesheet (Organized)
 * Structure:
 * 1. Base Styles & Variables
 * 2. Layout & Typography  
 * 3. Header & Navigation
 * 4. Buttons & Forms
 * 5. Cards & Containers
 * 6. Landing Page Styles
 * 7. Page-Specific Styles
 * 8. Mobile Responsive
 * 9. Transaction Layouts
 */

/**
 * Saldoanalys - Main Stylesheet
 * Design System: IBM Carbon inspired structure + Apple HIG clarity
 */

:root {
  /* Primary Colors */
  --color-primary: #2563EB;
  --color-primary-hover: #1E4FCB;
  --color-secondary: #10B981;
  --color-danger: #DC2626;
  --color-warning: #F59E0B;
  --color-info: #0EA5E9;

  /* New Accent Colors for Marketing */
  --color-coral: #FF6B6B;
  --color-coral-light: #FFE5E5;
  --color-teal: #06D6A0;
  --color-teal-light: #D4F7ED;
  --color-amber: #FFB800;
  --color-amber-light: #FFF4D9;
  --color-purple: #667eea;
  --color-purple-dark: #764ba2;
  --color-purple-light: #E8EBFF;

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-coral: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  --gradient-teal: linear-gradient(135deg, #06D6A0 0%, #00B4D8 100%);
  --gradient-amber: linear-gradient(135deg, #FFB800 0%, #FFA500 100%);
  --gradient-blue: linear-gradient(135deg, #667eea 0%, #2563EB 100%);
  --gradient-green: linear-gradient(135deg, #06D6A0 0%, #10B981 100%);

  /* Base Colors */
  --color-bg: #F9FAFB;
  --color-surface: #FFFFFF;
  --color-border: #E5E7EB;
  --color-text: #1F2937;
  --color-text-light: #6B7280;

  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  /* Typography */
  --font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 48px;

  /* Border Radius */
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

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

.logo {
  text-decoration: none;
  display: inline-block;
  line-height: 0;
}

.logo-image {
  width: 310px;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo-image:hover {
  opacity: 0.8;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF0000;
  margin-left: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-social-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.header-social-link svg {
  width: 24px;
  height: 24px;
}

.header-social-linkedin {
  color: #0A66C2;
}

.header-social-facebook {
  color: #1877F2;
}

.main {
  padding: var(--space-8) 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

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

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

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 2px solid var(--color-border);
  font-weight: 600;
  background: #F9FAFB;
}

.table td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.table tr:hover {
  background: #F9FAFB;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.kpi-title {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.kpi-value {
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.badge-danger {
  background: #FEE2E2;
  color: #991B1B;
}

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

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

.hidden {
  display: none;
}

/* Navigation */
.nav {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sliding underline effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  background: #F3F4F6;
  color: var(--color-primary);
  transform: scale(1.05);
}

.nav-link:hover::after {
  width: calc(100% - 32px);
  left: 16px;
}

.nav-link.active {
  background: var(--color-primary);
  color: white;
  animation: gentle-pulse 2s ease-in-out infinite;
}

.nav-link.active::after {
  display: none;
}

/* Gentle pulse animation for active state */
@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.user-info {  display: flex;  align-items: center;  font-size: var(--font-size-sm);  color: var(--color-text);  padding: 0.5rem 0.75rem;  border-radius: 6px;  transition: background-color 0.2s ease;  min-width: 190px;  justify-content: flex-start;}.user-info:hover {  background-color: rgba(0, 0, 0, 0.05);}

.user-email {
  font-weight: 500;
  color: var(--color-text);
}

.btn-logout {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: #FEE2E2;
  color: var(--color-danger);
  border-color: var(--color-danger);
}

/* Responsive Navigation */


.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.landing-header {
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.landing-header .hamburger-menu {
    z-index: 1001;
}

.landing-logo {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.landing-logo-image {
    width: 300px;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.landing-logo-image:hover {
    opacity: 0.8;
}


.landing-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.landing-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.landing-nav .btn-login {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== MARKETING ENHANCEMENTS ===== */

/* Hero Layout - Vertical stack */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.dashboard-mockup {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    overflow: hidden;
    animation: slideInRight 0.8s ease;
}

.mockup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 50px;
}

.mockup-content {
    padding: 24px;
    background: #f5f6fa;
    min-height: 200px;
}

.mockup-line {
    height: 16px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 6px;
    margin: 20px 0;
    opacity: 0.8;
}

.mockup-line.short {
    width: 60%;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trust Badges */
.hero-trust {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Social Proof Section */
.social-proof {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-icon {
    color: #667eea;
    margin: 24px 0;
    stroke-width: 1.5;
}

.step-icon svg {
    width: 80px;
    height: 80px;
}

.step-card h3 {
    font-size: 20px;
    margin: 16px 0 12px;
    color: #1f2937;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Feature Cards - SVG Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    color: #667eea;
    stroke: currentColor;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Pricing Improvements */
.pricing-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 8px 0 16px;
}

.pricing-comparison {
    margin-top: 80px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pricing-comparison h3 {
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
    color: #1f2937;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.comparison-table tbody tr:hover {
    background: #f9fafb;
}

/* Testimonials - Avatar & Featured */
.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
}

.featured-testimonial {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

/* CTA Final Section */
.cta-final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: white;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta-final {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Pulse Animation for Primary CTA */
.pulse {
    animation: pulse 2s infinite;
}

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

/* New Marketing Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

/* Utility Classes for Marketing Page */
.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Enhanced Typography */

/* ===== LANDING PAGE STYLES ===== */

/* Header */
.landing-header {
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.landing-header .hamburger-menu {
    z-index: 1001;
}

.landing-logo {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.landing-logo-image {
    width: 300px;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.landing-logo-image:hover {
    opacity: 0.8;
}

.landing-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.landing-nav a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.landing-nav a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.landing-nav .btn-login {
    background: #7C3AED;
    color: white;
}

.landing-nav .btn-login:hover {
    background: #6D28D9;
}

/* HERO SECTION - Fixed Layout */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero {
    padding: 80px 0 60px;
    background: white;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 40px 0;
    font-weight: 800;
    color: #667eea;
    text-align: center;
    width: 100%;
}

.hero .subtitle {
    font-size: 20px;
    margin: 0 0 24px 0;
    color: #374151;
    font-weight: 500;
    line-height: 1.6;
}


.hero-question {
    font-size: 18px;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.7;
    margin: 24px 0 32px 0;
    max-width: 550px;
}

.series-highlight-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    max-width: 550px;
    font-size: 19px;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.series-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.hero .value-props {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.hero .value-props li {
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hero .value-props li:before {
    content: "✓";
    color: #10B981;
    font-size: 20px;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary-hero {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

/* Trust Badges */
.hero-trust {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.dashboard-mockup {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    overflow: hidden;
    animation: slideInRight 0.8s ease;
}

.mockup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 50px;
}

.mockup-content {
    padding: 24px;
    background: #f5f6fa;
    min-height: 200px;
}

.mockup-line {
    height: 16px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 6px;
    margin: 20px 0;
    opacity: 0.8;
}

.mockup-line.short {
    width: 60%;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Social Proof Section */
.social-proof {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #1f2937;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-icon {
    color: #667eea;
    margin: 24px 0;
}

.step-icon svg {
    width: 80px;
    height: 80px;
}

.step-card h3 {
    font-size: 20px;
    margin: 16px 0 12px;
    color: #1f2937;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Intro Section */
.intro {
    padding: 80px 0;
    background: #f9fafb;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-headline {
    font-size: 42px;
    color: #1f2937;
    margin: 0 0 32px 0;
    font-weight: 700;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    color: #4b5563;
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.intro-subheadline {
    font-size: 28px;
    color: #1f2937;
    margin: 40px 0 24px 0;
    font-weight: 600;
}

.intro-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.intro-benefits li {
    font-size: 18px;
    color: #4b5563;
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
}

.intro-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 700;
    font-size: 20px;
}

.intro-closing {
    font-size: 20px;
    color: #667eea;
    margin: 32px 0 0 0;
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
}

.intro-image {
    float: right;
    width: 350px;
    margin: 0 0 24px 32px;
    border-radius: 8px;
}

.benefits-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.benefits-box .intro-subheadline {
    color: white;
    margin: 0 0 24px 0;
}

.benefits-box .intro-benefits li {
    color: white;
    font-size: 18px;
}

.benefits-box .intro-benefits li:before {
    color: #10B981;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin: 0 0 48px 0;
    color: #1f2937;
}

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

.feature-card {
    padding: 32px;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    color: #667eea;
    stroke: currentColor;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
}

.feature-card p {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 60px 0;
    background: #f9fafb;
}

.pricing h2 {
    text-align: center;
    font-size: 42px;
    margin: 0 0 48px 0;
    color: #1f2937;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #667eea;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.pricing-card h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin: 16px 0;
}

.pricing-price span {
    font-size: 18px;
    color: #6b7280;
    font-weight: 400;
}

.pricing-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 8px 0 16px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.pricing-features li {
    padding: 8px 0;
    color: #4b5563;
}

.pricing-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}

/* Pricing Comparison */
.pricing-comparison {
    margin-top: 80px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pricing-comparison h3 {
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
    color: #1f2937;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.comparison-table tbody tr:hover {
    background: #f9fafb;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    margin: 0 0 16px 0;
    font-weight: 700;
    color: #1f2937;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 48px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial-card.featured-testimonial {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 16px 0;
    font-style: italic;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.testimonial-role {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* CTA Final Section */
.cta-final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: white;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta-final {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

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

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: #1f2937;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin: 0 0 16px 0;
    font-weight: 600;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

/* Responsive */


/* ================================================================
   MOBILE RESPONSIVE & MEDIA QUERIES
   ================================================================ */

/* Fix overflow on mobile */
/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: 0;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    
    /* VAT page mobile */
    .vat-container {
        padding: 8px;
    }
    
    .period-card {
        margin-bottom: 12px;
    }
    
    .period-header {
        padding: 12px 8px;
    }
    
    .period-content {
        padding: 12px;
    }
    
    .period-summary {
        gap: 16px;
    }
    
    .period-stat-value {
        font-size: 16px;
    }

    body {
        overflow-x: hidden;
    }

    /* Landing page container - keep padding on mobile */
    .landing-page .container {
        padding: 0 16px;
    }

    .landing-header .container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 40px;
        white-space: normal;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .intro-headline,
    .features h2,
    .pricing h2,
    .testimonials h2,
    .how-it-works h2 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .proof-grid {
        gap: 24px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .hamburger-menu {
        display: flex !important;
    }

    /* Logo responsive sizing */
    .logo-image {
        width: 100px;
    }

    .landing-logo-image {
        width: 180px;
    }

    .nav {
        display: none !important;
        position: absolute !important;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column !important;
        background: white !important;
        padding: 20px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex !important;
    }
    
    #main-nav {
        display: none !important;
        position: absolute !important;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column !important;
        background: white !important;
        padding: 20px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        z-index: 1000;
    }
    
    #main-nav.active {
        display: flex !important;
    }

    /* Simplified animations for mobile - no scale, only underline */
    .nav-link:hover {
        transform: none;
    }

    /* Landing page nav */
    .landing-nav {
        display: none !important;
        position: absolute !important;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column !important;
        background: white !important;
        padding: 20px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        z-index: 1002;
    }

    .landing-nav.active {
        display: flex !important;
    }
    
    .landing-nav a {
        display: block;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }
    
    .landing-nav a:hover {
        color: #0066cc;
    }
    
    .landing-nav .btn-login {
        background: #0066cc;
        color: white;
        text-align: center;
        border-radius: 6px;
        border-bottom: none;
        margin-top: 8px;
    }
}

@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .nav {
        display: flex !important;
    }
    
    .landing-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 24px;
        align-items: center;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* Transaction Card Styles (Mobile) */
.transaction-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  min-height: 180px;
}

.transaction-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
  min-height: 40px;
}

.transaction-card-row:last-child {
  border-bottom: none;
}

.transaction-card-label {
  font-weight: 500;
  font-size: 13px;
  color: #6B7280;
  min-width: 90px;
}

/* Transactions container */
.transactions-container {
    margin-top: 32px;
}

/* Compact Mobile Transaction List */
.transaction-list-mobile {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
    background: white;
}

.transaction-list-mobile thead th {
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 600;
    color: #6B7280;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transaction-list-mobile thead th:nth-child(3),
.transaction-list-mobile thead th:nth-child(4) {
    text-align: right;
}

.transaction-list-mobile tbody tr {
    border-bottom: 1px solid #F3F4F6;
}

.transaction-list-mobile tbody tr:active {
    background: #F9FAFB;
}

.transaction-list-mobile td {
    padding: 6px 4px;
    vertical-align: middle;
}

.transaction-list-mobile .col-datum {
    width: 45px;
    font-size: 11px;
    color: #374151;
}

.transaction-list-mobile .col-beskrivning {
    width: 55px;
    font-size: 12px;
}

.transaction-list-mobile .col-belopp {
    width: 70px;
    text-align: right;
    font-weight: 600;
    font-size: 12px;
}

.transaction-list-mobile .col-saldo {
    width: 70px;
    text-align: right;
    font-weight: 500;
    font-size: 12px;
}

.transaction-list-mobile .col-actions {
    width: 60px;
    text-align: right;
    white-space: nowrap;
}

/* Row states */
.transaction-list-mobile tr.historic {
    background: #F3F4F6;
}

.transaction-list-mobile tr.cleared {
    opacity: 0.5;
}

.transaction-list-mobile tr.overdue {
    background: #FEF2F2;
}

.transaction-list-mobile tr.overdue .col-datum,
.transaction-list-mobile tr.overdue .col-belopp {
    color: #DC2626;
}

/* Small action icons */
.action-icon-small {
    padding: 3px;
    font-size: 15px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s;
    line-height: 1;
}

.action-icon-small:active {
    opacity: 1;
    transform: scale(0.95);
}

.action-icon-small.cleared {
    color: #10B981;
    opacity: 1;
}

.action-icon-small.not-cleared {
    color: #9CA3AF;
}

.action-icon-small.edit {
    color: #6B7280;
}

.action-icon-small.delete {
    color: #DC2626;
}

@media (max-width: 768px) {
    .card {
        padding: 5px !important;
        margin-bottom: 16px !important;
    }

    .container {
        padding: 5px !important;
    }
}

@media (max-width: 768px) {
    #transactions-table {
        display: none !important;
    }

    #transactions-cards {
        display: block !important;
    }

    /* Reduce header padding on mobile */
    .header {
        padding: 4px 0 !important;
    }

    /* Reduce main padding on mobile */
    .main {
        padding: 4px 0 !important;
    }

    /* Compact transactions container on mobile */
    .transactions-container {
        margin-top: 4px !important;
    }

    /* Make transaction card scrollable on mobile */
    .transactions-container .card {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    /* Compact transactions page header on mobile */
    .transactions-header {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .transactions-header h1 {
        font-size: 18px !important;
        margin: 0 !important;
    }

    .transactions-header p {
        font-size: 12px !important;
        margin: 0 !important;
    }

    .transactions-buttons {
        flex-direction: row !important;
        gap: 6px !important;
        flex-wrap: wrap;
    }

    .transactions-buttons .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .transactions-period-toggle {
        gap: 12px !important;
        margin-bottom: 8px !important;
        justify-content: center !important;
    }

    .transactions-period-toggle span {
        font-size: 12px !important;
    }
}

@media (min-width: 769px) {
    #transactions-cards {
        display: none !important;
    }

    #transactions-table {
        display: block !important;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
/* Utility Classes */
.hidden {
}

/* Registration & Plan Selection Styles */
.register-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}

.register-container h1 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  text-align: center;
  color: var(--color-text);
}

.register-container .form-group {
  margin-bottom: var(--space-3);
}

.register-container .form-row {
  gap: var(--space-3);
}

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.plan-option {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s ease;
  cursor: pointer;
  display: block;
}

.plan-option:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.plan-option.active {
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.plan-option h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text);
}

.plan-option p {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin: 0;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
  display: block;
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
  font-size: var(--font-size-sm);
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
  font-weight: 500;
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
  margin-bottom: var(--space-2);
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
  color: var(--color-text);
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}
}
.form-input,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],select,textarea {  width: 100%;  padding: var(--space-3);  border: 1px solid var(--color-border);  border-radius: var(--radius-md);  font-size: var(--font-size-base);  font-family: inherit;  transition: border-color 0.2s;}.form-input:focus,.form-control:focus,input:focus,select:focus,textarea:focus {  outline: none;  border-color: var(--color-primary);}

.form-group input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-section {
  margin-bottom: var(--space-8);
}

.form-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

#payment-element {
  margin-bottom: var(--space-6);
  min-height: 40px;
}

.error-banner,
.error-message {
  background-color: #FEE2E2;
  border: 1px solid #DC2626;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  color: #991B1B;
  font-size: var(--font-size-sm);
}

.error-message.hidden {
  display: none;
}

.login-link {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.login-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

#submit-btn {
  width: 100%;
  padding: var(--space-3);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-top: var(--space-2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .plan-selector {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .register-container {
    padding: var(--space-6) var(--space-4);
  }
}

/**
 * Modal Animations
 * Moderate & Playful style with accessibility support
 */

/* Modal backdrop animations */
.modal-backdrop {
  transition: opacity 0.3s ease-out;
}

.modal-backdrop-enter {
  animation: modalBackdropFadeIn 0.3s ease-out forwards;
}

.modal-backdrop-exit {
  animation: modalBackdropFadeOut 0.3s ease-in forwards;
}

@keyframes modalBackdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalBackdropFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Modal content animations */
.modal-content {
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal-content-enter {
  animation: modalContentEnter 0.4s ease-out forwards;
}

.modal-content-exit {
  animation: modalContentExit 0.3s ease-in forwards;
}

@keyframes modalContentEnter {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes modalContentExit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal-content {
    transition: none !important;
    animation: none !important;
  }

  .modal-backdrop-enter,
  .modal-backdrop-exit,
  .modal-content-enter,
  .modal-content-exit {
    animation: none !important;
  }

  /* Disable navbar animations */
  .nav-link {
    transition: background-color 0.2s, color 0.2s !important;
    animation: none !important;
  }

  .nav-link:hover {
    transform: none !important;
  }

  .nav-link::after {
    display: none !important;
  }
}

/**
 * Toast Notifications
 * Non-blocking notifications that appear in bottom-right corner
 */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  min-width: 300px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease-out;
}

.toast-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-exit {
  opacity: 0;
  transform: translateX(400px);
}

.toast-icon {
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #1F2937;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: #9CA3AF;
  transition: color 0.2s;
  flex-shrink: 0;
}

.toast-close:hover {
  color: #4B5563;
}

/* Toast types */
.toast-success {
  border-left: 4px solid #10B981;
}

.toast-success .toast-icon {
  background: #D1FAE5;
  color: #065F46;
}

.toast-error {
  border-left: 4px solid #DC2626;
}

.toast-error .toast-icon {
  background: #FEE2E2;
  color: #991B1B;
}

.toast-warning {
  border-left: 4px solid #F59E0B;
}

.toast-warning .toast-icon {
  background: #FEF3C7;
  color: #92400E;
}

.toast-info {
  border-left: 4px solid #0EA5E9;
}

.toast-info .toast-icon {
  background: #DBEAFE;
  color: #1E40AF;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .toast {
    min-width: 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: none !important;
    animation: none !important;
  }

  .toast-visible,
  .toast-exit {
    transform: none !important;
  }
}

/* ===== NEW HERO SECTION REDESIGN ===== */
.hero-new {
    background: linear-gradient(135deg, #F9FAFB 0%, #E8EBFF 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-new::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-split {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    padding-right: 20px;
}

.hero-headline {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 24px 0;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0 0 32px 0;
    max-width: 500px;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
}

.benefit-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

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

.btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-coral);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--color-text);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.btn-secondary-new:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    transform: translateY(-2px);
}

.hero-trust-new {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 500;
}

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

.hero-right {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 12px;
    max-width: 100%;
}

.hero-dashboard-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.hero-video-container {
    position: relative;
}

.hero-video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.hero-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.hero-play-btn svg {
    width: 36px;
    height: 36px;
    color: var(--color-teal);
    margin-left: 4px; /* Optical centering for play icon */
}

.hero-play-btn.hidden {
    display: none;
}

/* Hero Mobile Responsive */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        font-size: 42px;
    }

    .hero-right {
        order: -1;
    }

    .hero-left {
        padding-right: 0;
        text-align: center;
    }

    .hero-benefits {
        align-items: center;
    }

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

    .hero-trust-new {
        justify-content: center;
    }
}

/* Small phone breakpoint */
@media (max-width: 480px) {
    .hero-new {
        padding: 120px 0 60px;
    }

    .hero-headline {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary-new,
    .btn-secondary-new {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-trust-new {
        flex-direction: column;
        gap: 8px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 24px;
    }

    .steps-grid-new {
        grid-template-columns: 1fr;
    }

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

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

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

    .intro-headline {
        font-size: 24px;
    }

    .intro-subheadline {
        font-size: 18px;
    }
}

/* ===== NEW SOCIAL PROOF SECTION ===== */
.social-proof-new {
    background: white;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.proof-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.proof-card-coral {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
    border-color: rgba(255, 107, 107, 0.2);
}

.proof-card-coral:hover {
    border-color: var(--color-coral);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.2);
}

.proof-card-teal {
    background: linear-gradient(135deg, #F0FDF9 0%, #D4F7ED 100%);
    border-color: rgba(6, 214, 160, 0.2);
}

.proof-card-teal:hover {
    border-color: var(--color-teal);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(6, 214, 160, 0.2);
}

.proof-card-amber {
    background: linear-gradient(135deg, #FFFBEB 0%, #FFF4D9 100%);
    border-color: rgba(255, 184, 0, 0.2);
}

.proof-card-amber:hover {
    border-color: var(--color-amber);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 184, 0, 0.2);
}

.proof-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.proof-card-coral .proof-icon {
    background: var(--gradient-coral);
    color: white;
}

.proof-card-teal .proof-icon {
    background: var(--gradient-teal);
    color: white;
}

.proof-card-amber .proof-icon {
    background: var(--gradient-amber);
    color: white;
}

.stat-number-new {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-new {
    font-size: 16px;
    color: var(--color-text-light);
    font-weight: 500;
}

@media (max-width: 968px) {
    .proof-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== NEW HOW IT WORKS SECTION ===== */
.how-it-works-new {
    padding: 80px 0;
    background: var(--color-bg);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--color-text);
}

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

.step-card-new {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-coral {
    background: var(--gradient-coral);
}

.step-teal {
    background: var(--gradient-teal);
}

.step-amber {
    background: var(--gradient-amber);
}

.step-icon-new {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step-number-new {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.step-title-new {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.step-description-new {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 968px) {
    .steps-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
}
