/* 
 * InstantViralContent.com Main Stylesheet
 * A comprehensive CSS file for styling the entire website
 * Using modern CSS techniques for optimal performance
 */

/* CSS Variables for consistent theming */
:root {
  /* Primary brand colors */
  --primary: #FF3366;
  --secondary: #6C63FF;
  --accent: #FFC107;
  --accent-secondary: #00BFA6;
  
  /* Neutral colors */
  --dark: #333333;
  --medium: #666666;
  --light-medium: #999999;
  --light: #F9F9F9;
  --white: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--accent-secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --space-xxxl: 5rem;
  
  /* Border radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 20px;
  --radius-round: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-focus: 0 0 0 3px rgba(108, 99, 255, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-indices */
  --z-below: -1;
  --z-normal: 1;
  --z-above: 10;
  --z-top: 100;
  --z-modal: 1000;
  
  /* Container width */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Account for fixed header */
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

code, pre {
  font-family: var(--font-mono);
  background-color: var(--light);
  border-radius: var(--radius-sm);
}

code {
  padding: 0.2em 0.4em;
  font-size: 0.9em;
}

pre {
  padding: var(--space-md);
  overflow-x: auto;
  margin-bottom: var(--space-md);
}

/* Container System */
.container {
  width: 100%;
  padding-right: var(--space-md);
  padding-left: var(--space-md);
  margin-right: auto;
  margin-left: auto;
  max-width: var(--container-xl);
}

.container-fluid {
  width: 100%;
  padding-right: var(--space-md);
  padding-left: var(--space-md);
  margin-right: auto;
  margin-left: auto;
}

.container-sm {
  max-width: var(--container-sm);
}

.container-md {
  max-width: var(--container-md);
}

.container-lg {
  max-width: var(--container-lg);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.col {
  flex: 1 0 0%;
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Column widths for responsive layouts */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Responsive grid classes */
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Flexbox Utilities */
.d-flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

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

.justify-content-between {
  justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

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

.align-items-stretch {
  align-items: stretch;
}

/* Spacing Utilities */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-xs); }
.m-2 { margin: var(--space-sm); }
.m-3 { margin: var(--space-md); }
.m-4 { margin: var(--space-lg); }
.m-5 { margin: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--space-xs); }
.mr-2 { margin-right: var(--space-sm); }
.mr-3 { margin-right: var(--space-md); }
.mr-4 { margin-right: var(--space-lg); }
.mr-5 { margin-right: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--space-xs); }
.ml-2 { margin-left: var(--space-sm); }
.ml-3 { margin-left: var(--space-md); }
.ml-4 { margin-left: var(--space-lg); }
.ml-5 { margin-left: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-xs); }
.pt-2 { padding-top: var(--space-sm); }
.pt-3 { padding-top: var(--space-md); }
.pt-4 { padding-top: var(--space-lg); }
.pt-5 { padding-top: var(--space-xl); }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: var(--space-xs); }
.pr-2 { padding-right: var(--space-sm); }
.pr-3 { padding-right: var(--space-md); }
.pr-4 { padding-right: var(--space-lg); }
.pr-5 { padding-right: var(--space-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-xs); }
.pb-2 { padding-bottom: var(--space-sm); }
.pb-3 { padding-bottom: var(--space-md); }
.pb-4 { padding-bottom: var(--space-lg); }
.pb-5 { padding-bottom: var(--space-xl); }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: var(--space-xs); }
.pl-2 { padding-left: var(--space-sm); }
.pl-3 { padding-left: var(--space-md); }
.pl-4 { padding-left: var(--space-lg); }
.pl-5 { padding-left: var(--space-xl); }

/* Text Utilities */
.text-center {
  text-align: center;
}

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

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

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

.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.font-weight-normal {
  font-weight: 400;
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-light {
  font-weight: 300;
}

.font-italic {
  font-style: italic;
}

/* Colors */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

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

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

.text-medium {
  color: var(--medium);
}

.text-light {
  color: var(--light);
}

.text-white {
  color: var(--white);
}

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

.bg-secondary {
  background-color: var(--secondary);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-dark {
  background-color: var(--dark);
}

.bg-medium {
  background-color: var(--medium);
}

.bg-light {
  background-color: var(--light);
}

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

/* Display */
.d-none {
  display: none;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-block {
  display: block;
}

.d-grid {
  display: grid;
}

.d-table {
  display: table;
}

.d-table-cell {
  display: table-cell;
}

/* Position */
.position-static {
  position: static;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
}

/* Borders */
.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-circle {
  border-radius: 50%;
}

/* Shadows */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-none {
  box-shadow: none;
}

/* Visibility */
.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn:focus, .btn:hover {
  text-decoration: none;
  outline: none;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: #e01f4f;
  border-color: #e01f4f;
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
  transform: translateY(-2px);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #5a52e0;
  border-color: #5a52e0;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  transform: translateY(-2px);
}

.btn-accent {
  color: var(--dark);
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #e6ac00;
  border-color: #e6ac00;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
  transform: translateY(-2px);
}

.btn-light {
  color: var(--dark);
  background-color: var(--light);
  border-color: var(--light);
}

.btn-light:hover, .btn-light:focus {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

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

.btn-dark:hover, .btn-dark:focus {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary);
  background-color: transparent;
  border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  color: var(--white);
  background-color: var(--primary);
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  color: var(--secondary);
  background-color: transparent;
  border-color: var(--secondary);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
  color: var(--white);
  background-color: var(--secondary);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: block;
  width: 100%;
}

/* FORMS */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
  background-color: var(--white);
  background-clip: padding-box;
  border: 2px solid #e1e1e1;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-control:focus {
  border-color: var(--secondary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.25);
}

.form-control::placeholder {
  color: var(--light-medium);
  opacity: 1;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* CARDS */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--white);
  background-clip: border-box;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-header {
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-text {
  margin-bottom: 1rem;
}

.card-footer {
  padding: 1.25rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* NAVBAR */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary);
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

/* Fixed navbar */
.navbar-fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-top);
}

/* HEADER */
.header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 5rem 0 8rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.header h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--light);
}

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

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

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

.section-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--medium);
}

/* FEATURE CARDS */
.feature-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--medium);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* CTA SECTION */
.cta-section {
  background: var(--gradient-primary);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-button {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

/* FAQ SECTION */
.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-answer.active {
  padding: 0 1.25rem 1.25rem;
  max-height: 1000px;
}

/* FOOTER */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: var(--light);
  border-radius: var(--radius-md);
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: var(--medium);
  content: "/";
}

.breadcrumb-item.active {
  color: var(--medium);
}

/* ACCESSIBILITY */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px;
  z-index: 100;
  background: var(--dark);
  color: var(--white);
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

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

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

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

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

.animate-fadeIn {
  animation: fadeIn 1s;
}

.animate-slideInUp {
  animation: slideInUp 1s;
}

.animate-slideInRight {
  animation: slideInRight 1s;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Tool Card Styles */
.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  height: 100%;
}

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

.tool-card-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1.5rem;
  position: relative;
}

.tool-card-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2.5rem;
  opacity: 0.2;
}

.tool-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.tool-card-body {
  padding: 1.5rem;
}

.tool-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.tool-card-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.tool-card-features li:before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.5rem;
  font-weight: bold;
}

.tool-card-footer {
  background: rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Platform Card Styles */
.platform-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
}

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

.platform-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.platform-icon img {
  width: 35px;
  height: 35px;
}

.platform-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Template Card Styles */
.template-card {
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  height: 100%;
}

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

.template-preview {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.template-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.template-card:hover .template-preview img {
  transform: scale(1.05);
}

.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.template-info {
  padding: 1.5rem;
}

.template-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.template-type {
  color: var(--medium);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Trending Card Styles */
.trending-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

.trending-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.trending-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.trending-meta {
  display: flex;
  align-items: center;
  color: var(--medium);
  font-size: 0.9rem;
}

.trending-growth {
  background-color: rgba(0, 191, 166, 0.1);
  color: var(--accent-secondary);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-right: 0.75rem;
}

.trending-time {
  display: flex;
  align-items: center;
}

.trending-time::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: var(--medium);
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .header h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header {
    padding: 4rem 0 6rem;
  }
  
  .header h1 {
    font-size: 2.5rem;
  }
  
  .header p {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .header {
    padding: 3rem 0 5rem;
  }
  
  .header h1 {
    font-size: 2.25rem;
  }
  
  .header p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.6rem 1.25rem;
  }
}

/* Animations for lazy-loaded content */
.lazy-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.lazy-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Service worker notification */
.sw-update-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--white);
  color: var(--dark);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-modal);
  display: none;
}

.sw-update-notification.show {
  display: flex;
  align-items: center;
  animation: slideInUp 0.5s forwards;
}

.sw-update-notification button {
  margin-left: 15px;
  padding: 5px 10px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* SPECIAL COMPONENTS FOR VIRAL CONTENT TOOLS */

/* Viral Score Meter */
.viral-score-meter {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.viral-score-value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
}

.viral-score-bar {
  height: 15px;
  width: 100%;
  background-color: rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.viral-score-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  transition: width 1s ease;
}

.viral-score-label {
  text-align: center;
  font-weight: 600;
  color: var(--medium);
}

/* Platform Toggle */
.platform-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.platform-toggle-btn {
  margin: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--light);
  color: var(--medium);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.platform-toggle-btn.active {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.platform-toggle-btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Content Preview */
.content-preview {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.content-preview-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-preview-platform {
  display: flex;
  align-items: center;
}

.content-preview-platform img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.content-preview-actions {
  display: flex;
}

.content-preview-actions button {
  background: none;
  border: none;
  color: var(--light);
  margin-left: 10px;
  cursor: pointer;
}

.content-preview-body {
  padding: 2rem;
  min-height: 300px;
}

.content-preview-footer {
  padding: 1rem;
  background-color: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-preview-metrics {
  display: flex;
  align-items: center;
}

.content-preview-metrics div {
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--medium);
  font-size: 0.9rem;
}

.content-preview-metrics div i {
  margin-right: 5px;
}

/* Trend Chart */
.trend-chart {
  width: 100%;
  height: 250px;
  margin-bottom: 2rem;
}

.trend-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.trend-chart-item {
  display: flex;
  align-items: center;
  margin: 0 1rem 0.5rem;
}

.trend-chart-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 8px;
}

/* Loading animations */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(108, 99, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--secondary);
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

.loading-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-secondary), var(--accent));
  background-size: 300% 100%;
  animation: gradient-move 2s ease infinite;
}

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

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
  position: absolute;
  z-index: var(--z-top);
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Range input styling */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: var(--light);
  border-radius: var(--radius-sm);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

input[type=range]::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

/* Copy button styles */
.copy-button {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.copy-button:hover {
  background: #5a52e0;
}

.copy-button.copied {
  background: var(--accent-secondary);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: var(--light);
  padding: 1rem;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-text {
  margin-right: 1rem;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Print styles */
@media print {
  body {
    background-color: white;
    color: black;
  }
  
  .no-print {
    display: none;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  .container, .section {
    padding: 0;
    margin: 0;
  }
}