/* --- NEO-BRUTALISM THEME V2 (REFINED) --- */

/* 1. FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* 2. CSS VARIABLES (REFINED) */
:root {
  --background: oklch(0.99 0 0);
  --foreground: oklch(0.15 0 0); /* Softer than pure black */
  --border-color: oklch(0.2 0 0);
  --border-color-soft: oklch(0.9 0 0); /* Lighter grey for tables */
  --radius: 0px;
  --shadow-sm: 3px 3px 0px 0px var(--border-color); /* Slightly smaller shadow */
  
  --primary: oklch(0.6489 0.2370 26.9728);   /* Orange */
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.85 0.18 115); /* Softer Green */
  --secondary-foreground: oklch(0.1 0 0);
  --destructive: oklch(0.73 0.2 20);
  --destructive-foreground: oklch(1.0000 0 0);

  --muted: oklch(0.96 0 0); /* Lighter grey background */
  --muted-foreground: oklch(0.45 0 0);

  --chart-1: var(--primary);
  --chart-2: oklch(0.9680 0.2110 109.7692);

  --font-sans: 'DM Sans', sans-serif;
}

/* 3. BASE STYLES */
body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--foreground);
}

/* 4. COMPONENT STYLES */

/* Buttons */
.btn {
  border-radius: var(--radius);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  transition: all 0.1s ease-in-out;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px var(--border-color);
}
.btn:active {
  transform: translate(1px, 1px) !important;
  box-shadow: 2px 2px 0px 0px var(--border-color) !important;
}

.btn-neo-primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn-neo-primary:hover { background-color: var(--primary); color: var(--primary-foreground); }
.btn-neo-secondary { background-color: var(--background); color: var(--foreground); }
.btn-neo-secondary:hover { background-color: var(--background); color: var(--foreground); }
.btn-neo-danger { background-color: var(--destructive); color: var(--destructive-foreground); }
.btn-neo-danger:hover { background-color: var(--destructive); color: var(--destructive-foreground); }

/* Cards */
.card-neo {
  background-color: var(--background);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-neo-interactive:hover {
  transform: translate(-4px, -4px);
  box-shadow: 7px 7px 0px 0px var(--border-color);
}
.card-neo .card-header {
  border-bottom: 2px solid var(--border-color);
  border-radius: 0;
  padding: 1rem 1.5rem; /* ADDED PADDING */
}
.card-neo .card-body {
  padding: 1.5rem; /* ADDED PADDING */
}

/* Forms */
.form-control-neo, .form-select-neo {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: .75rem 1rem;
}
.form-control-neo:focus, .form-select-neo:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm), 0 0 0 2px var(--primary);
  outline: 0;
}

/* REFINED Table Style */
.table-refined {
  border-spacing: 0;
  width: 100%;
}
.table-refined th {
  background-color: var(--muted);
  border-bottom: 2px solid var(--border-color-soft);
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.table-refined td, .table-refined th {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color-soft);
  vertical-align: middle; /* THE FIX: This single line ensures everything is perfectly centered vertically. */
}
.table-refined tbody tr:hover {
  background-color: var(--muted);
}

/* Modals */
.modal-content-neo {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0px 0px var(--border-color);
}
.modal-content-neo .modal-header, .modal-content-neo .modal-footer {
  border-color: var(--border-color);
  padding: 1.5rem;
}

/* Badges */
.badge-neo {
  border: 2px solid var(--border-color);
  color: var(--foreground);
  background-color: var(--muted);
  font-size: 0.9em;
  padding: 0.4em 0.7em;
  font-weight: 700;
  border-radius: var(--radius);
}
.badge-neo.bg-success {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--secondary-foreground);
}

/* Flash Messages */
.alert-neo {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    padding: 1rem 1.5rem;
}
.alert-neo.alert-success { background-color: var(--secondary); color: var(--secondary-foreground); border-color: var(--secondary-foreground); }
.alert-neo.alert-danger { background-color: var(--destructive); color: var(--destructive-foreground); border-color: var(--border-color); }
.alert-neo.alert-warning { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--border-color); }

/* --- CORRECTED FIX FOR HOMEPAGE FAQ --- */

.accordion .accordion-item {
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  background-color: var(--background); /* Ensure background is correct */
  border-radius: var(--radius); /* Ensure no rounded corners */
}

.accordion .accordion-button {
  font-weight: 700;
  color: var(--foreground); /* Black font, as requested */
  text-decoration: none;
  background-color: transparent;
  width: 100%;
  text-align: left;
  border: none;
  /* This adds the necessary padding */
  padding: 1.25rem 1.5rem; 
}

.accordion .accordion-button:focus {
  box-shadow: none; /* Remove blue glow on click */
}

/* When the accordion is open, the button color remains black */
.accordion .accordion-button:not(.collapsed) {
  color: var(--foreground); 
  background-color: transparent;
  box-shadow: none;
}

/* Remove Bootstrap's default ugly arrow icon */
.accordion .accordion-button::after {
  display: none;
}

.accordion .accordion-body {
  /* Add padding to the answer text */
  padding: 0 1.5rem 1.5rem 1.5rem; 
  color: var(--muted-foreground);
}
/* --- START: ADDITIVE STYLES FOR NEW HOMEPAGE HERO --- */

/* This styles the "Clarity." text with your primary orange color */
.hero-highlight {
    color: var(--primary);
}

/* This styles the header dots inside the mockup */
.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
}

/* This adds the subtle fade-in animation */
.hero-text-animation, .hero-mockup-animation {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-mockup-animation {
    animation-delay: 0.2s;
    opacity: 0; /* Starts hidden */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- END: ADDITIVE STYLES FOR NEW HOMEPAGE HERO --- */

/* --- START: DROPDOWN & OVERLAP FIXES --- */

/* This targets the dropdown menu itself */
.dropdown-menu.card-neo {
    /* Ensures the dropdown appears ON TOP of all other content */
    z-index: 1050; 
}

/* 
This targets the individual items INSIDE the dropdown.
It fixes the hover color and the text readability.
*/
.dropdown-menu.card-neo .dropdown-item:hover,
.dropdown-menu.card-neo .dropdown-item:focus {
    background-color: var(--primary);       /* USE OUR ORANGE */
    color: var(--primary-foreground);       /* USE OUR BLACK TEXT */
}

/* --- END: DROPDOWN & OVERLAP FIXES --- */

/* --- START: ADDITIVE STYLES FOR LTD PAGE V2 --- */
.ltd-value-stack li {
    background-color: var(--muted);
    border: 2px solid var(--border-color-soft);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ltd-value-stack li span {
    text-decoration: line-through;
    color: var(--muted-foreground);
    font-weight: normal;
    margin-left: 0.5rem;
}

.ltd-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
}

.placeholder-box {
    border: 3px dashed var(--border-color-soft);
    background-color: var(--muted);
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

.testimonial-card {
    background-color: var(--background);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    height: 100%;
}
/* --- END: ADDITIVE STYLES FOR LTD PAGE V2 --- */

/* --- START: ADDITIVE STYLES FOR LTD PAGE V3 --- */

/* Grid background like the #net reference */
.bg-grid {
    background-color: var(--background);
    background-image:
        linear-gradient(to right, var(--border-color-soft) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color-soft) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* New card style for the "Irresistible Offer" section */
.offer-card {
    background-color: var(--muted);
    border: 2px solid var(--border-color-soft);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.offer-card .icon {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.offer-card h5 {
    font-weight: 700;
}

/* Enhanced style for "Designed for Agencies" section */
.feature-callout-card {
    background: var(--background);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    height: 100%;
}

/* New Testimonial styles based on the reference */
.testimonial-grid {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 768px) {
    .testimonial-grid {
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .testimonial-grid {
        column-count: 3;
    }
}
.testimonial-card-v2 {
    display: inline-block;
    width: 100%;
    background: var(--background);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.testimonial-card-v2 .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.testimonial-card-v2 .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 1px solid var(--border-color-soft);
}
.testimonial-card-v2 .user-info .name {
    font-weight: 700;
    line-height: 1.2;
}
.testimonial-card-v2 .user-info .handle {
    color: var(--muted-foreground);
    line-height: 1.2;
}

/* New clean FAQ style from the reference */
.accordion-clean .accordion-item {
  border: 0;
  border-bottom: 2px solid var(--border-color-soft);
  box-shadow: none;
  margin-bottom: 0;
  background-color: transparent;
  border-radius: 0;
}
.accordion-clean .accordion-button {
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
  background-color: transparent;
  width: 100%;
  text-align: left;
  border: none;
  padding: 1.5rem 0;
}
.accordion-clean .accordion-button:focus {
  box-shadow: none;
}
.accordion-clean .accordion-button:not(.collapsed) {
  color: var(--foreground);
  background-color: transparent;
  box-shadow: none;
}
.accordion-clean .accordion-button::after {
  display: none;
}
.accordion-clean .accordion-body {
  padding: 0 0 1.5rem 0;
  color: var(--muted-foreground);
}
/* --- END: ADDITIVE STYLES FOR LTD PAGE V3 --- */

/* --- START: LTD V4 'CLEAN & MODERN' STYLES --- */

:root {
  --accent-ltd: oklch(0.85 0.25 85); /* Vibrant Yellow */
  --accent-ltd-fg: oklch(0.15 0 0); /* Black text for yellow button */
}

/* Page wrapper to override default body styles just for this page */
.ltd-v4-wrapper {
  background-color: var(--background);
  color: var(--foreground);
}

.bg-grid-ltd {
  background-color: oklch(0.985 0 0); /* Slightly off-white background */
  background-image:
      linear-gradient(to right, oklch(0.94 0 0) 1px, transparent 1px),
      linear-gradient(to bottom, oklch(0.94 0 0) 1px, transparent 1px);
  background-size: 40px 40px;
}

.btn-ltd-accent {
  background-color: var(--accent-ltd);
  color: var(--accent-ltd-fg);
  border: 2px solid var(--accent-ltd-fg);
  box-shadow: var(--shadow-sm);
}
.btn-ltd-accent:hover {
  background-color: var(--accent-ltd);
  color: var(--accent-ltd-fg);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px var(--border-color);
}
.btn-ltd-accent:active {
  transform: translate(1px, 1px) !important;
  box-shadow: 2px 2px 0px 0px var(--border-color) !important;
}


/* New feature card for the offer section */
.feature-grid-card {
    background-color: var(--background);
    border: 2px solid var(--border-color-soft);
    padding: 2rem;
    height: 100%;
    text-align: center;
}
.feature-grid-card .icon {
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.75rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    border: 2px solid var(--border-color-soft);
}
.feature-grid-card h5 {
    font-weight: 700;
}


/* Testimonial slider styles */
.testimonial-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--border-color);
    border: none;
    margin: 0 5px;
}
.testimonial-carousel .carousel-indicators .active {
    background-color: var(--primary);
}
.testimonial-tweet-card {
    background: var(--background);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    max-width: 450px; /* Control width of the tweet */
    margin: 0 auto; /* Center the card in the carousel item */
}
.testimonial-tweet-card .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.testimonial-tweet-card .user-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
}
.testimonial-tweet-card .user-info .name {
    font-weight: 700;
    line-height: 1.2;
}
.testimonial-tweet-card .user-info .handle {
    color: var(--muted-foreground);
    line-height: 1.2;
}


/* Ultra-clean FAQ style from the reference */
.faq-clean-v2 .accordion-item {
  border: 0;
  border-bottom: 2px solid var(--border-color-soft);
  background-color: transparent;
}
.faq-clean-v2 .accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--foreground);
  background-color: transparent;
  padding: 1.75rem 0;
  border: none;
  box-shadow: none;
}
.faq-clean-v2 .accordion-button::after {
    /* Custom simple arrow */
    flex-shrink: 0;
    margin-left: auto;
    content: "+";
    font-size: 2rem;
    font-weight: 200;
    transition: transform .2s ease-in-out;
    background-image: none;
}
.faq-clean-v2 .accordion-button:not(.collapsed)::after {
    content: "−";
}
.faq-clean-v2 .accordion-body {
  padding: 0 0 1.75rem 0;
  color: var(--muted-foreground);
  max-width: 90%;
}
/* --- END: LTD V4 'CLEAN & MODERN' STYLES --- */
