/*-- scss:defaults --*/


/*-- scss:rules --*/

/* ============================================================================
   MOBILE OVERRIDES - NAVY + GOLD THEME
   ============================================================================
   
   Mobile-first responsive styles for Second Difference Solutions
   Breakpoints:
   - Mobile: <= 768px
   - Tablet: 769px - 1024px
   - Desktop: > 1024px
   
   @version 2.0.0
   @author Second Difference Solutions, LLC
   @updated December 2025
============================================================================ */


/* ============================================================================
   MOBILE STYLES (max-width: 768px)
============================================================================ */

@media (max-width: 768px) {

  /* Base Typography */
  body {
    padding: 0;
    font-size: 12pt;
  }

  p {
    font-size: 12pt;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.1rem; }


  /* Hero Section Mobile */
  .hero-section {
    padding: var(--space-2xl) var(--space-md);
    min-height: auto;
  }

  .responsive-hero-img {
    max-width: 250px;
  }

  .hero-headline {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-value-props {
    gap: var(--space-sm);
  }

  .value-prop {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }


  /* Section Containers Mobile */
  .section-container {
    padding: 0 var(--space-md);
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
  }


  /* Why Section Mobile */
  .why-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .benefit-card {
    padding: var(--space-lg);
  }

  .benefit-icon {
    font-size: 2rem;
  }


  /* Products Section Mobile */
  .products-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .product-card {
    padding: var(--space-lg);
  }

  .product-card h3 {
    font-size: 1.25rem;
    padding-right: 80px;
  }

  .product-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }


  /* Trust Section Mobile */
  .trust-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .trust-item {
    font-size: 0.9rem;
  }


  /* CTA Section Mobile */
  .cta-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .btn-primary-large,
  .btn-secondary-large {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }


  /* Disclaimer Mobile */
  .disclaimer-section {
    padding: var(--space-md);
  }

  .disclaimer-text {
    font-size: 0.75rem;
  }


  /* Legacy Image Scaling */
  .responsive-img img {
    max-width: 75%;
  }


  /* Table & Chart Responsive */
  .table,
  .chart-container {
    font-size: 12px;
    width: 100%;
    overflow-x: auto;
  }


  /* Navbar Mobile */
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }


  /* Page Wrapper Mobile */
  .page-wrapper {
    max-width: 95%;
    padding: 0;
  }


  /* List Spacing Mobile */
  ul li {
    padding: 4px 0;
  }


  /* Info Page Mobile */
  .info-page-header {
    padding: var(--space-xl) var(--space-md);
  }

  .info-page-header h1 {
    font-size: 1.5rem;
  }

  .info-page-header p {
    font-size: 1rem;
  }

  .info-content {
    padding: 0 var(--space-md) var(--space-xl);
  }

  .info-section h2 {
    font-size: 1.25rem;
  }

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


  /* Feature Grid Mobile */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-item {
    padding: var(--space-md);
  }


  /* Security Badges Mobile */
  .security-badge {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
  }
}


/* ============================================================================
   TABLET STYLES (769px - 1024px)
============================================================================ */

@media (min-width: 769px) and (max-width: 1024px) {

  /* Hero Adjustments */
  .hero-section {
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero-headline {
    font-size: 2rem;
  }

  .responsive-hero-img {
    max-width: 300px;
  }


  /* Grid Adjustments */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Trust Items */
  .trust-items {
    gap: var(--space-md) var(--space-lg);
  }


  /* Section Containers */
  .section-container {
    padding: 0 var(--space-lg);
  }
}


/* ============================================================================
   SMALL MOBILE STYLES (max-width: 480px)
============================================================================ */

@media (max-width: 480px) {

  .hero-headline {
    font-size: 1.5rem;
  }

  .responsive-hero-img {
    max-width: 200px;
  }

  .value-prop {
    font-size: 0.9rem;
  }

  .benefit-card h3 {
    font-size: 1.1rem;
  }

  .benefit-card p {
    font-size: 0.9rem;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-tagline {
    font-size: 0.85rem;
  }

  .product-features li {
    font-size: 0.85rem;
  }

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

  .cta-section h2 {
    font-size: 1.35rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }
}


/* ============================================================================
   LANDSCAPE MOBILE ORIENTATION
============================================================================ */

@media (max-width: 768px) and (orientation: landscape) {

  .hero-section {
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }

  .hero-logo {
    margin-bottom: var(--space-md);
  }

  .responsive-hero-img {
    max-width: 150px;
  }

  .hero-value-props {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-lg);
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    max-width: none;
  }
}


/* ============================================================================
   HIGH DPI / RETINA DISPLAYS
============================================================================ */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

  .responsive-hero-img,
  .responsive-img img {
    image-rendering: -webkit-optimize-contrast;
  }
}


/* ============================================================================
   REDUCED MOTION (ACCESSIBILITY)
============================================================================ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .benefit-card:hover,
  .product-card:hover,
  .feature-item:hover,
  .btn-primary:hover,
  .btn-primary-large:hover {
    transform: none;
  }
}


/* ============================================================================
   DARK MODE PREFERENCE (Future Enhancement)
============================================================================ */

/* 
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #1f2937;
    --gray-100: #374151;
    --gray-200: #4b5563;
    --gray-700: #d1d5db;
    --gray-800: #e5e7eb;
    --gray-900: #f3f4f6;
    --white: #111827;
  }
}
*/


/* ============================================================================
   PRINT STYLES
============================================================================ */

@media print {

  .hero-section {
    page-break-inside: avoid;
  }

  .products-section,
  .why-section,
  .trust-section {
    page-break-inside: avoid;
  }

  .cta-section,
  .hero-cta,
  .cta-buttons {
    display: none !important;
  }

  .navbar {
    display: none !important;
  }
}
