:root {
  --primary: #F20544;
  --secondary: #F22E62;
  --accent: #F2668B;
  --highlight: #F22E76;
  --dark: #0D0D0D;
  --white: #fff;
  --background: #f9f9f9;
}

/* Base Layout Styles */
html {
  scroll-behavior: smooth;
  height: 100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--background);
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Height of navbar */
  box-sizing: border-box;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  width: 100%;
  height: 80px; /* Fixed height for navbar */
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 2rem;
}

.logo-video {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  margin-right: 8px;
  background: var(--background);
  object-fit: cover;
}

.logo-text {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-dot {
  color: var(--primary);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  position: relative;
}

.navbar-links li a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.navbar-links li a:hover,
.navbar-links li a.active {
  background: rgba(242,5,68,0.08);
  color: var(--primary);
}

.navbar-links li a.active {
  font-weight: 600;
  background: rgba(242,5,68,0.12);
}

.navbar-links li a.btn {
  font-weight: 600;
}

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

.btn-primary:hover {
  background: var(--highlight) !important;
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* User Dropdown Styles */
.navbar-user-dropdown {
  position: relative;
}

.navbar-user-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  border: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.navbar-user-name:hover,
.navbar-user-dropdown.open .navbar-user-name {
  background: rgba(242,5,68,0.08);
}

.navbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 0.5rem;
  list-style: none; /* Remove list dots */
  margin: 0;
}

.navbar-user-dropdown.open .navbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-dropdown-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none; /* Remove list dots */
}

.navbar-dropdown-menu a {
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--dark);
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.navbar-dropdown-menu a:hover {
  background: rgba(242,5,68,0.08);
  color: var(--primary);
}

.navbar-dropdown-menu svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
  body {
    padding-top: 72px;
  }
  
  .navbar {
    height: 72px;
  }
  
  .navbar-container {
    padding: 0 1rem;
  }
  
  .form-container {
    margin: 1rem auto;
    padding: 1.5rem 1rem;
    max-width: 95%;
  }
  
  .auth-form {
    gap: 1rem;
  }
  
  .navbar-links {
    width: 100vw;
    left: 0;
    right: 0;
  }
  
  .logo-text {
    font-size: 1.6rem;
  }
  
  .navbar-toggle {
    display: block;
    order: 1;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  }
  
  .navbar-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 16px 16px;
    list-style: none;
    margin: 0;
  }
  
  .navbar-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .navbar-links li {
    width: 100%;
  }
  
  .navbar-links li a {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .navbar-user-dropdown {
    width: 100%;
  }
  
  .navbar-user-name {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }
  
  .navbar-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-top: 0.5rem;
    transform: none;
    display: none;
  }
  
  .navbar-user-dropdown.open .navbar-dropdown-menu {
    display: block;
    transform: none;
  }
  
  .navbar-dropdown-menu a {
    justify-content: center;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 64px;
  }
  
  .navbar {
    height: 64px;
  }
  
  .navbar-container {
    padding: 0 0.8rem;
  }
  
  .form-container {
    margin: 0.8rem auto;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    width: 92%;
  }
  
  .auth-form h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group label {
    font-size: 0.95rem;
  }
  
  .form-control, 
  .country-code {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
  
  .submit-btn {
    font-size: 1rem;
    padding: 0.8rem 0;
  }
  
  .form-footer {
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  
  .navbar-links {
    padding: 0.5rem;
  }
  
  .navbar-links li a {
    padding: 0.8rem;
    font-size: 1rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-video {
    width: 32px;
    height: 32px;
  }
}

/* Form Container Adjustments */
.form-container {
  width: 100%;
  max-width: 420px;
  margin: 2rem auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  position: relative;
}

.form-container:hover, .form-container:focus-within {
  box-shadow: 0 8px 40px rgba(242,5,68,0.13), 0 1.5px 8px rgba(0,0,0,0.08);
  transform: translateY(-4px) scale(1.015);
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-form h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.2rem;
  margin-left: 2px;
}

.form-control {
  padding: 0.7rem 1rem;
  border: 1.5px solid #e3e3e3;
  border-radius: 7px;
  font-size: 1.1rem;
  background: #fafbfc;
  color: var(--dark);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(242,5,68,0.08);
}

.mobile-input-group {
  display: flex;
  align-items: center;
  width: 100%;
}

.country-code {
  flex-shrink: 0;
  padding: 0.7rem 0.8rem;
  background: #f2f2f2;
  border: 1.5px solid #e3e3e3;
  border-radius: 7px 0 0 7px;
  font-size: 1.1rem;
  color: #888;
  min-width: 48px;
  text-align: center;
}

.mobile-input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(242,5,68,0.08);
}

.submit-btn:hover, .submit-btn:focus {
  background: var(--highlight);
  color: var(--white);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 16px rgba(242,5,68,0.13);
}

.form-footer {
  text-align: center;
  font-size: 1rem;
  margin-top: 1.2rem;
}

.error-message {
  background: #ffeaea;
  color: #d8000c;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1rem;
}

.success-message {
  background: #eaffea;
  color: #1e7e34;
  border: 1px solid #b7ebc6;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .form-container {
    margin: 1.5rem auto;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .form-container {
    margin: 1rem auto;
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .auth-form h2 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  
  .form-control, .country-code {
    font-size: 0.97rem;
    padding: 0.45rem 0.6rem;
    border-radius: 5px;
  }
  
  .form-group label {
    font-size: 0.97rem;
    margin-bottom: 0.1rem;
  }
  
  .submit-btn {
    font-size: 1.05rem;
    padding: 0.7rem 0;
    border-radius: 6px;
    max-width: 100%;
  }
  
  .form-footer {
    font-size: 0.97rem;
    margin-top: 0.7rem;
  }
}

@media (max-width: 400px) {
  .form-container {
    padding: 0.2rem 0.05rem 0.7rem 0.05rem;
    margin: 4px auto 16px auto;
    border-radius: 4px;
  }
  
  .form-control, .country-code {
    font-size: 0.93rem;
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
  }
  
  .submit-btn {
    font-size: 0.98rem;
    padding: 0.6rem 0;
    border-radius: 4px;
  }
}

/* ==================== Footer Styles ==================== */

.site-footer {
  width: 100%;
  background: var(--white);
  margin-top: auto;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.03);
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem 0;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.5rem 0;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  width: fit-content;
}

.footer-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-logo-video {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--background);
  object-fit: cover;
}

.footer-logo-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.footer-logo-dot {
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  border-radius: 8px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Footer Mobile Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem 0;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 1.25rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem 0;
  }
  
  .footer-section:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  
  /* Show the three link sections in horizontal line */
  .footer-section:nth-child(2),
  .footer-section:nth-child(3),
  .footer-section:nth-child(4) {
    grid-row: 2;
  }
  
  .footer-section:nth-child(2) {
    grid-column: 1;
  }
  
  .footer-section:nth-child(3) {
    grid-column: 2;
  }
  
  .footer-section:nth-child(4) {
    grid-column: 3;
  }
  
  /* Update grid to accommodate horizontal layout */
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  
  .footer-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  
  .footer-description {
    max-width: 100%;
    font-size: 0.9rem;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-social {
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-social-link {
    width: 32px;
    height: 32px;
  }
  
  .footer-social-icon {
    width: 16px;
    height: 16px;
  }
  
  .footer-bottom {
    padding: 1.25rem 0;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-content {
    padding: 1.5rem 0 1.25rem 0;
    gap: 1.5rem;
  }
  
  .footer-description {
    font-size: 0.85rem;
  }
  
  .footer-logo-text {
    font-size: 1.1rem;
  }
  
  .footer-logo-video {
    width: 24px;
    height: 24px;
  }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
  html {
    height: -webkit-fill-available;
  }
}

/* Error Pages Styles */
.error-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.error-content {
    max-width: 500px;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--dark);
}

.error-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.back-home {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.back-home:hover {
    background: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(242,5,68,0.2);
}

@media (max-width: 600px) {
    .error-content h1 {
        font-size: 4rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
    
    .error-content p {
        font-size: 1rem;
    }
}

/* Captcha Styles */
.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
}

.captcha-code {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 4px;
    color: #495057;
    user-select: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    background: linear-gradient(45deg, #007bff, #6f42c1, #dc3545, #fd7e14);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.refresh-captcha {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.refresh-captcha:hover {
    background: var(--highlight);
    transform: rotate(180deg) scale(1.1);
}

.captcha-container .form-control {
    margin-top: 0;
}

@media (max-width: 600px) {
    .captcha-display {
        padding: 0.6rem;
    }
    
    .captcha-code {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .refresh-captcha {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        min-width: 35px;
        height: 35px;
    }
}

/* ==================== SVG Icon Styles ==================== */

svg {
    display: inline-block;
    vertical-align: middle;
}

svg use {
    pointer-events: none;
}

/* Ensure icons inherit colors properly */
.feature-icon,
.btn-icon,
.free-icon {
    display: inline-block;
    vertical-align: middle;
}

/* ==================== Hero Section Styles ==================== */

.hero-section {
    width: 100%;
    min-height: 65vh;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 25%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    scroll-margin-top: 80px; /* Account for fixed navbar */
    transition: all 0.6s ease-in-out;
    opacity: 1;
}

/* Section-specific Background Gradients */
.hero-section:nth-child(2) {
    /* Cashbook Section - Blue theme */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #bae6fd 100%);
}

.hero-section-reversed {
    /* Ledger Khata Section - Green theme */
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 25%, #bbf7d0 100%);
}

.hero-section:last-of-type {
    /* About Section - Gray theme (already styled inline) */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 55vh;
}

/* Reversed Layout for Alternate Sections */
.hero-content-reversed {
    grid-template-columns: 1fr 1fr;
}

.hero-content-reversed .hero-text {
    order: 2; /* Move text to right */
}

.hero-content-reversed .hero-visual {
    order: 1; /* Move visual to left */
}

/* Hero Text Content */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideInLeft 0.8s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
    margin: 0;
}

.hero-headline .highlight {
    color: var(--primary);
    position: relative;
}

.hero-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* Free Features Highlight */
.free-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9ff 100%);
    border-radius: 12px;
    border: 2px solid #10b981;
}

.free-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.free-item:hover {
    transform: translateY(-2px);
}

.free-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.free-item span {
    font-weight: 600;
    color: #059669;
    font-size: 0.9rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
}

.feature-item span {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-hero,
.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(242, 5, 68, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242, 5, 68, 0.4);
    background: linear-gradient(135deg, var(--highlight), var(--primary));
}

.btn-secondary-hero {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.btn-secondary-hero:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242, 5, 68, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
}

/* Hero Visual Content */
.hero-visual {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.device-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-preview {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    will-change: transform;
    backface-visibility: hidden;
}

.desktop-preview:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(1deg) scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

.desktop-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    backface-visibility: hidden;
}

.mobile-preview {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    z-index: 3;
    border-radius: 20px;
    transform: perspective(1200px) rotateY(8deg) rotateX(-3deg);
    transition: transform 0.3s ease;
    width: 40%;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
    will-change: transform;
    backface-visibility: hidden;
}

.mobile-preview:hover {
    transform: perspective(1200px) rotateY(4deg) rotateX(-1deg) scale(1.05);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

.mobile-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    backface-visibility: hidden;
}

/* Mobile Friendly Badge */
.mobile-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(242, 5, 68, 0.3);
    z-index: 4;
    white-space: nowrap;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

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

.float-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.float-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 4s;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero-content,
    .hero-content-reversed {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        /* Reorder: images first, then text */
        display: flex;
        flex-direction: column;
    }
    
    .hero-visual,
    .hero-content-reversed .hero-visual {
        order: 1; /* Show images first on mobile for all sections */
    }
    
    .hero-text,
    .hero-content-reversed .hero-text {
        order: 2; /* Show text second on mobile for all sections */
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .desktop-preview,
    .mobile-preview {
        transform: none;
        will-change: auto;
    }
    
    .desktop-preview:hover,
    .mobile-preview:hover {
        transform: scale(1.02);
    }
    
    .mobile-preview {
        position: absolute;
        bottom: -1rem;
        right: -1rem;
        width: 38%;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: 85vh;
        background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 50%, #f1f5f9 100%);
    }
    
    /* Preserve about section background on mobile */
    .hero-section#about {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
    }
    
    .hero-container {
        padding: 0 1.25rem;
    }
    
    .hero-content,
    .hero-content-reversed {
        gap: 1.5rem;
        min-height: auto;
        /* Reorder: images first on mobile */
        display: flex;
        flex-direction: column;
    }
    
    .hero-visual,
    .hero-content-reversed .hero-visual {
        order: 1; /* Show images first on mobile for all sections */
        margin-bottom: 0.75rem;
    }
    
    .hero-text,
    .hero-content-reversed .hero-text {
        order: 2; /* Show text second on mobile for all sections */
        gap: 1.5rem;
    }
    
    .hero-headline {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .hero-headline .highlight::after {
        height: 3px;
        bottom: -2px;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 1rem;
        color: #64748b;
    }
    
    /* Enhanced Free Features for Mobile */
    .free-features {
        margin: 1.5rem 0;
        padding: 1.25rem;
        gap: 0.85rem;
        border-radius: 16px;
        background: linear-gradient(135deg, #e8f5e8 0%, #f0f9ff 100%);
        border: 2px solid #10b981;
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
        flex-direction: column;
    }
    
    .free-item {
        padding: 0.75rem 1rem;
        width: 100%;
        min-width: unset;
        flex: none;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        justify-content: center;
    }
    
    .free-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
    
    .free-icon {
        width: 22px;
        height: 22px;
    }
    
    .free-item span {
        font-size: 0.95rem;
        font-weight: 600;
        color: #059669;
    }
    
    /* Better Hero Features Spacing */
    .hero-features {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .feature-item {
        gap: 0.75rem;
        padding: 0.75rem 0;
        justify-content: center;
    }
    
    .feature-icon {
        width: 26px;
        height: 26px;
    }
    
    .feature-item span {
        font-size: 1.05rem;
        text-align: center;
        font-weight: 500;
    }
    
    /* Professional CTA Buttons */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
        margin-top: 1.75rem;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 14px;
    }
    
    .btn-primary-hero {
        box-shadow: 0 6px 25px rgba(242, 5, 68, 0.3);
    }
    
    .btn-secondary-hero {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    /* Mobile Device Preview */
    .hero-visual {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .device-mockup {
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .desktop-preview {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
    
    .mobile-preview {
        position: absolute;
        bottom: -0.75rem;
        right: -0.75rem;
        width: 32%;
        margin: 0;
        z-index: 3;
    }
    
    .floating-elements {
        display: none;
    }
    
    .mobile-badge {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-headline {
        font-size: 1.9rem;
        line-height: 1.1;
    }
    
    .hero-subheadline {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .free-features {
        padding: 1.25rem;
        margin: 1.5rem 0;
        gap: 0.85rem;
    }
    
    .free-item {
        padding: 0.6rem 0.8rem;
    }
    
    .free-item span {
        font-size: 0.9rem;
    }
    
    .hero-features {
        margin: 1.5rem 0;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        max-width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .desktop-preview {
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }
    
    .desktop-img,
    .mobile-img {
        image-rendering: auto;
        image-rendering: high-quality;
    }
    
    .mobile-preview {
        width: 35%;
        bottom: -0.5rem;
        right: -0.5rem;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    }
}

/* ==================== About Section Styles ==================== */

.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.about-content {
    text-align: left;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.about-section .hero-text,
.about-section .hero-text > * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

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

.about-story {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-top: 2rem;
}

.about-signature {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(242, 5, 68, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.signature-text {
    margin: 0;
    font-style: italic;
    color: #6b7280;
}

.signature-title {
    font-size: 0.9rem;
}

.about-features {
    align-items: center;
    margin-top: 2rem;
}

.about-cta {
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile responsiveness for about section */
@media (max-width: 600px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
        margin: 0;
    }
    
    .about-headline {
        text-align: center;
        font-size: 2.25rem;
    }
    
    .about-story {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        margin-top: 1.5rem;
    }
    
    .about-signature {
        margin-top: 1.5rem;
        padding: 1.25rem;
        text-align: center;
    }
    
    .about-features {
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .about-cta {
        margin-top: 1.5rem;
    }
}

@media (max-width: 400px) {
    .about-headline {
        font-size: 1.9rem;
    }
    
    .about-story {
        font-size: 0.95rem;
    }
    
    .about-signature {
        padding: 1rem;
        margin-top: 1.25rem;
    }
    
    .signature-title {
        font-size: 0.85rem;
    }
}

/* ==================== Legal Pages Styles ==================== */

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.6;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 1rem;
}

.legal-intro {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.legal-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-text {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

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

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

.legal-list li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.legal-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-link:hover {
    color: var(--highlight);
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 12px;
    color: #64748b;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
}

/* Legal Pages Mobile Responsive */
@media (max-width: 600px) {
    .legal-page {
        padding: 1.5rem 0;
    }
    
    .legal-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 1.25rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .legal-heading {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .legal-text,
    .legal-list li {
        font-size: 0.95rem;
    }
    
    .legal-footer {
        margin-top: 2rem;
        padding: 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-intro {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .legal-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-heading {
        font-size: 1.2rem;
    }
    
    .legal-text,
    .legal-list li {
        font-size: 0.9rem;
    }
    
    .legal-footer {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* ==================== Credits Section Styles ==================== */

.credits-section {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.credits-title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.credits-content {
    max-width: 600px;
    margin: 0 auto;
}

.credit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 0.75rem;
}

.credit-item:last-child {
    margin-bottom: 0;
}

.credit-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    fill: currentColor;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.credit-text {
    flex: 1;
    line-height: 1.5;
}

.credit-label {
    font-weight: 600;
    color: var(--dark);
    display: inline-block;
    margin-right: 0.5rem;
}

.credit-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.credit-link:hover {
    text-decoration: underline;
    color: var(--highlight);
}

/* Credits Section Mobile Responsive */
@media (max-width: 600px) {
    .credits-section {
        margin-top: 2rem;
        padding: 1.25rem 1.5rem;
        border-radius: 10px;
    }
    
    .credits-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .credit-item {
        padding: 0.85rem;
        gap: 0.6rem;
    }
    
    .credit-text {
        font-size: 0.9rem;
    }
    
    .credit-label {
        display: block;
        margin-bottom: 0.25rem;
        margin-right: 0;
    }
}

@media (max-width: 400px) {
    .credits-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .credits-title {
        font-size: 1.1rem;
    }
    
    .credit-item {
        padding: 0.75rem;
        border-radius: 6px;
    }
    
    .credit-icon {
        width: 18px;
        height: 18px;
    }
    
    .credit-text {
        font-size: 0.85rem;
    }
}

/* ==================== Contact Form Styles ==================== */

.contact-form-container {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.contact-form-title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 1rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
    color: var(--dark);
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(242, 5, 68, 0.1);
}

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

.contact-form-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 5, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(242, 5, 68, 0.4);
    background: linear-gradient(135deg, var(--highlight), var(--primary));
}

.contact-form-submit-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-form-footer p {
    margin: 0;
}

.contact-form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-form-footer a:hover {
    text-decoration: underline;
}

/* Contact Form Mobile Responsive */
@media (max-width: 600px) {
    .contact-form-container {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact-form-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-form-icon {
        width: 20px;
        height: 20px;
    }
    
    .contact-form-input,
    .contact-form-textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    .contact-form-submit {
        padding: 0.8rem 1.25rem;
        font-size: 1rem;
    }
    
    .contact-form-submit-icon {
        width: 16px;
        height: 16px;
    }
    
    .contact-form-footer {
        font-size: 0.85rem;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
}

@media (max-width: 400px) {
    .contact-form-container {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }
    
    .contact-form-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-form-input,
    .contact-form-textarea {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
}

