/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0d1a47;
    line-height: 1.6;
}

/* Custom Properties (CSS Variables) */
:root {
    --thriveseo-dark: #2046B5;
    --thriveseo-medium: #3A5CBE;
    --thriveseo-navy: #083161;
    --thriveseo-green: #15D16C;
    --thriveseo-light-blue: #A6BFFF;
    --thriveseo-photo1: #1A3995;
    --thriveseo-photo2: #93ADE2;
    --thriveseo-photo3: #92AEFF;
    --thriveseo-photo4: #90B0DC;
    --thriveseo-gray: #F6F8FA;
    --thriveseo-light-gray: #EDF2F7;
    
    --radius: 0.5rem;
}

/* Utility Classes */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container-custom {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

/* Typography */
.heading-xl {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-xl {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .heading-xl {
        font-size: 3.75rem;
    }
}

.heading-lg {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-lg {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .heading-lg {
        font-size: 3rem;
    }
}

.heading-md {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-md {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .heading-md {
        font-size: 2.25rem;
    }
}

.heading-sm {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-sm {
        font-size: 1.5rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
    }
}

/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-24 {
    padding-top: 6rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-8 {
    margin-left: 2rem;
    margin-right: 2rem;
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-thriveseo-navy {
    color: var(--thriveseo-navy);
}

.text-thriveseo-dark {
    color: var(--thriveseo-dark);
}

.text-thriveseo-green {
    color: var(--thriveseo-green);
}

.text-red-500 {
    color: #ef4444;
}

.text-[#0d1a47] {
    color: #0d1a47;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-thriveseo-dark {
    background-color: var(--thriveseo-dark);
}

.bg-thriveseo-medium {
    background-color: var(--thriveseo-medium);
}

.bg-thriveseo-navy {
    background-color: var(--thriveseo-navy);
}

.bg-thriveseo-green {
    background-color: var(--thriveseo-green);
}

.bg-thriveseo-gray {
    background-color: var(--thriveseo-gray);
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-yellow-600 {
    background-color: #ca8a04;
}

.bg-[#0d1a47] {
    background-color: #0d1a47;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Opacity */
.opacity-5 {
    opacity: 0.05;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

/* Border Radius */
.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Borders */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Display */
.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-flex {
    display: inline-flex;
}

.hidden {
    display: none;
}

/* Width and Height */
.w-full {
    width: 100%;
}

.w-1 {
    width: 0.25rem;
}

.w-8 {
    width: 2rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-32 {
    width: 8rem;
}

.w-64 {
    width: 16rem;
}

.w-96 {
    width: 24rem;
}

.h-1 {
    height: 0.25rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-32 {
    height: 8rem;
}

.h-64 {
    height: 16rem;
}

.h-96 {
    height: 24rem;
}

.min-w-\[280px\] {
    min-width: 280px;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden {
    overflow: hidden;
}

/* Transform */
.rotate-12 {
    transform: rotate(12deg);
}

.-rotate-12 {
    transform: rotate(-12deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.scale-x-0 {
    transform: scaleX(0);
}

.scale-x-100 {
    transform: scaleX(1);
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
}

/* Transitions */
.transition-all {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), text-decoration-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), fill 0.15s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity {
    transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Duration */
.duration-300 {
    transition-duration: 300ms;
}

/* Hover States */
.hover\:bg-opacity-90:hover {
    background-opacity: 0.9;
}

.hover\:bg-yellow-600:hover {
    background-color: #ca8a04;
}

.hover\:text-thriveseo-dark:hover {
    color: var(--thriveseo-dark);
}

.hover\:text-thriveseo-green:hover {
    color: var(--thriveseo-green);
}

.hover\:bg-thriveseo-medium:hover {
    background-color: var(--thriveseo-medium);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:opacity-100:hover {
    opacity: 1;
}

/* Focus States */
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-thriveseo-green:focus {
    --tw-ring-color: var(--thriveseo-green);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Responsive Design */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:flex {
        display: flex;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:justify-center {
        justify-content: center;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
    
    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
    
    .lg\:text-5xl {
        font-size: 3rem;
    }
    
    .lg\:text-4xl {
        font-size: 2.25rem;
    }
    
    .lg\:text-3xl {
        font-size: 1.875rem;
    }
    
    .lg\:text-2xl {
        font-size: 1.5rem;
    }
}

/* Background Gradients */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-thriveseo-dark {
    --tw-gradient-from: var(--thriveseo-dark);
    --tw-gradient-to: rgba(32, 70, 181, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-thriveseo-medium {
    --tw-gradient-to: var(--thriveseo-medium);
}

.from-thriveseo-green {
    --tw-gradient-from: var(--thriveseo-green);
    --tw-gradient-to: rgba(21, 209, 108, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-thriveseo-medium {
    --tw-gradient-stops: var(--tw-gradient-from), var(--thriveseo-medium), var(--tw-gradient-to);
}

.to-thriveseo-navy {
    --tw-gradient-to: var(--thriveseo-navy);
}

/* Blur Effects */
.blur-3xl {
    filter: blur(24px);
}

/* Background Patterns */
.pattern-grid {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Decorative Elements */
.decor-circle {
    position: absolute;
    border-radius: 9999px;
    opacity: 0.2;
}

.decor-line {
    position: absolute;
    height: 8rem;
    width: 0.25rem;
    background-image: linear-gradient(to bottom, var(--thriveseo-green), transparent);
    opacity: 0.3;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes floatPattern {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in forwards;
}

.animate-floatPattern {
    animation: floatPattern 10s ease-in-out infinite;
}

.animate-marquee-left {
    animation: marquee-left 120s linear infinite;
    min-width: fit-content;
}

.animate-marquee-right {
    animation: marquee-right 120s linear infinite;
    min-width: fit-content;
}

/* Form Styles */
input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--thriveseo-green);
    box-shadow: 0 0 0 2px rgba(21, 209, 108, 0.2);
}

/* Button Styles */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Link Styles */
a {
    text-decoration: none;
    color: inherit;
}

/* List Styles */
ul {
    list-style: none;
}

/* Select None */
.select-none {
    user-select: none;
}

/* Pointer Events */
.pointer-events-none {
    pointer-events: none;
}

/* Fill */
.fill-red-500 {
    fill: #ef4444;
}

/* SVG Styles */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Lucide Icons */
[data-lucide] {
    width: 1em;
    height: 1em;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Custom Scrollbar */
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-none::-webkit-scrollbar {
    display: none;
}

/* Responsive Text Sizes */
@media (min-width: 768px) {
    .md\:text-\[20rem\] {
        font-size: 20rem;
    }
    
    .md\:text-\[25rem\] {
        font-size: 25rem;
    }
    
    .md\:text-\[30rem\] {
        font-size: 30rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-\[20rem\] {
        font-size: 20rem;
    }
    
    .lg\:text-\[25rem\] {
        font-size: 25rem;
    }
    
    .lg\:text-\[30rem\] {
        font-size: 30rem;
    }
}

/* Additional Utility Classes */
.text-\[20rem\] {
    font-size: 20rem;
}

.text-\[25rem\] {
    font-size: 25rem;
}

.text-\[30rem\] {
    font-size: 30rem;
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    display: none;
}

#close-icon.hidden {
    display: none;
}

/* FAQ Accordion Styles */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    cursor: pointer;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--thriveseo-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 1rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Trust Bar Logo Styles */
.trust-logo {
    flex-shrink: 0;
    margin: 0 2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* Integration Logo Styles */
.integration-logo {
    flex-shrink: 0;
    margin: 0 2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.integration-logo:hover {
    opacity: 1;
}
