/* InsightCP Theme - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Custom Properties - Driven by Customizer */
:root {
    /* Color variables - defaults that can be overridden by Customizer */
    --background: 222 47% 7%;
    --foreground: 210 40% 98%;
    --card: 222 47% 11%;
    --card-foreground: 210 40% 98%;
    --popover: 222 47% 11%;
    --popover-foreground: 210 40% 98%;
    --primary: 217 91% 60%;
    --primary-foreground: 222 47% 7%;
    --secondary: 263 70% 50%;
    --secondary-foreground: 210 40% 98%;
    --muted: 222 30% 20%;
    --muted-foreground: 215 20% 65%;
    --accent: 263 70% 50%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;
    --border: 222 30% 20%;
    --input: 222 30% 20%;
    --ring: 217 91% 60%;
    --radius: 0.75rem;
    /* Derived from customizer - all editable via Brand Colors */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
    --gradient-glow: 0 0 60px hsl(var(--primary) / 0.3), 0 0 120px hsl(var(--secondary) / 0.2);
    --glass-bg: hsl(var(--card) / 0.5);
    --glass-border: hsl(var(--foreground) / 0.1);
    --glass-border-strong: hsl(var(--foreground) / 0.2);
    --overlay-light: hsl(var(--foreground) / 0.05);
    --overlay-light-hover: hsl(var(--foreground) / 0.1);
    --glow-primary: hsl(var(--primary) / 0.3);
    --glow-primary-strong: hsl(var(--primary) / 0.4);
    --glow-secondary: hsl(var(--secondary) / 0.2);
    --glow-secondary-strong: hsl(var(--secondary) / 0.4);
    --overlay-dark: hsl(var(--background) / 0.6);
    --overlay-dark-mid: hsl(var(--background) / 0.2);
    --overlay-dark-strong: hsl(var(--background) / 0.8);
}

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-button {
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--primary-foreground));
    transition: all 0.3s ease;
}

.gradient-button:hover {
    opacity: 0.9;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.glow-effect {
    box-shadow: 0 0 40px var(--glow-primary), 0 0 80px var(--glow-secondary);
}

.glow-border {
    box-shadow: 0 0 30px var(--glow-primary-strong), 0 0 60px var(--glow-secondary-strong);
    border: 1px solid hsl(var(--secondary) / 0.4);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-glow:hover {
    box-shadow: 0 10px 40px var(--glow-primary), 0 0 60px var(--glow-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    background: var(--overlay-light);
    border: 1px solid var(--glass-border-strong);
    color: hsl(var(--foreground));
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background: var(--overlay-light-hover);
}

.btn-full {
    width: 100%;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow-primary-strong), 0 0 40px var(--glow-secondary);
    }
    50% {
        box-shadow: 0 0 40px hsl(var(--primary) / 0.6), 0 0 80px var(--glow-secondary-strong);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Floating Nodes Canvas */
#floating-nodes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Navigation - matches React: glass-card border-b border-white/10 */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 1024px) {
    .navbar-container {
        height: 5rem;
    }
}

.navbar-logo img {
    height: 2.5rem;
    width: auto;
}

@media (min-width: 1024px) {
    .navbar-logo img {
        height: 3rem;
    }
}

.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
}

.navbar-nav a{
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}
.navbar-nav button {
    font-size: 1rem;
}

.navbar-nav a:hover,
.navbar-nav button:hover {
    color: hsl(var(--foreground));
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
}

.mobile-nav.active {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav a,
.mobile-nav button {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    text-align: left;
    padding: 0.5rem;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.mobile-nav a:hover,
.mobile-nav button:hover {
    color: hsl(var(--foreground));
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 6rem;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.hero-bg-orb-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.hero-bg-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsl(var(--secondary) / 0.2);
    animation: pulse 3s ease-in-out infinite 1s;
}

.hero-bg-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37.5rem;
    height: 37.5rem;
    background: linear-gradient(to bottom right, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
    filter: blur(48px);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
        gap: 2rem;
    }
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        margin: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-mascot {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-mascot {
        justify-content: flex-end;
    }
}

.mascot-wrapper {
    position: relative;
}

.mascot-glow {
    position: absolute;
    inset: 0;
    background: hsl(var(--primary) / 0.3);
    border-radius: 50%;
    filter: blur(48px);
    transform: scale(0.75);
}

.mascot-image {
    position: relative;
    z-index: 10;
    width: 16rem;
    height: 16rem;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px hsl(var(--background) / 0.5));
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .mascot-image {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .mascot-image {
        width: 24rem;
        height: 24rem;
    }
}

.mascot-image:hover {
    transform: scale(1.05);
}

/* Section base styles */
.section {
    padding: 6rem 0;
    position: relative;
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 5rem;
    }
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

/* Problem Section */
.problem-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .problem-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.problem-card {
    padding: 1.5rem;
    opacity: 0;
}

.problem-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.problem-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.problem-card-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.solution-box {
    padding: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .solution-box {
        padding: 3rem;
    }
}

.solution-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.solution-label {
    color: hsl(var(--primary));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.solution-text {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .solution-text {
        font-size: 1.5rem;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.value-card {
    padding: 2rem;
    text-align: center;
    opacity: 0;
}

.value-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.value-card:hover .value-card-icon {
    transform: scale(1.1);
}

.value-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card-description {
    color: hsl(var(--muted-foreground));
}

/* Audience Section */
.audience-section {
    position: relative;
}

.audience-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.audience-bg-orb-1 {
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.1);
}

.audience-bg-orb-2 {
    bottom: 0;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsl(var(--secondary) / 0.1);
}

.audience-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.audience-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    opacity: 0;
}

.audience-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.audience-card:hover .audience-card-bg {
    filter: grayscale(0%);
}

.audience-card-overlay {
    position: absolute;
    inset: 0;
    background: hsl(var(--primary) / 0.7);
    transition: background 0.5s ease;
}

.audience-card:hover .audience-card-overlay {
    background: hsl(var(--primary) / 0.3);
}

.audience-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--overlay-dark), var(--overlay-dark-mid), transparent);
}

.audience-card-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .audience-card-content {
        padding: 2.5rem;
    }
}

.audience-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.audience-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
    .audience-card-title {
        font-size: 1.5rem;
    }
}

.audience-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audience-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.audience-feature-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: hsl(var(--foreground));
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.audience-feature span {
    color: hsl(var(--foreground) / 0.9);
}

/* Pricing Section */
.pricing-section {
    position: relative;
}

.pricing-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.pricing-bg-orb-1 {
    top: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.1);
}

.pricing-bg-orb-2 {
    bottom: 25%;
    left: 25%;
    width: 20rem;
    height: 20rem;
    background: hsl(var(--secondary) / 0.1);
}

.founding-banner {
    max-width: 42rem;
    margin: 0 auto 3rem;
    opacity: 0;
}

.founding-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid hsl(var(--primary) / 0.3);
}

.founding-banner-text {
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 640px) {
    .founding-banner-text {
        font-size: 1rem;
    }
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.pricing-card-individual {
    order: 2;
}

.pricing-card-teams {
    order: 1;
    position: relative;
}

.pricing-card-enterprise {
    order: 3;
}

@media (min-width: 768px) {
    .pricing-card-individual {
        order: 1;
    }
    .pricing-card-teams {
        order: 2;
    }
    .pricing-card-enterprise {
        order: 3;
    }
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--primary-foreground));
    border-radius: 9999px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-card-teams .pricing-header {
    margin-top: 0.5rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pricing-founding-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: hsl(var(--secondary) / 0.1);
    border: 1px solid hsl(var(--secondary) / 0.2);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--secondary));
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 700;
}

.pricing-period {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-feature svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-feature span {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pricing-feature.highlighted span {
    color: hsl(var(--foreground));
    font-weight: 500;
}

.pricing-note {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    background: hsl(var(--muted) / 0.3);
    border-radius: 0.5rem;
}

.pricing-note p {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.pricing-note-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-note-with-icon svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: hsl(var(--primary));
}

.pricing-footer {
    text-align: center;
    margin-top: 4rem;
    opacity: 0;
}

.pricing-footer p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pricing-footer p:last-child {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    padding: 3rem 0 0;
    border-top: 1px solid var(--glass-border);
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 4rem 0 0;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
        gap: 4rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .footer-logo {
    flex-shrink: 0;
    align-self: flex-start;
}

.footer-logo {
    height: 2rem;
    width: auto;
    min-height: 32px;
    margin-bottom: 0.25rem;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-brand .company-info {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

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

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    padding: 0;
}

.footer-link:hover {
    color: hsl(var(--foreground));
}

.footer-link svg {
    flex-shrink: 0;
}

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

.footer-address svg {
    margin-top: 0.125rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s ease;
}

.footer-credit:hover {
    color: hsl(var(--primary));
}

.footer-credit span {
    font-weight: 500;
}

.footer-credit svg {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer-credit:hover svg {
    opacity: 1;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-dark-strong);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: hsl(var(--card));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    max-width: 32rem;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content.modal-lg {
    max-width: 42rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: hsl(var(--muted-foreground));
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    color: hsl(var(--foreground));
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.modal-date {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.modal-body p {
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.9);
    margin-bottom: 0.75rem;
}

.modal-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body li {
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.9);
    margin-bottom: 0.25rem;
}

.modal-body a {
    color: hsl(var(--primary));
    transition: opacity 0.2s ease;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* Demo Form Modal */
.demo-form {
    padding: 1.5rem;
}

.demo-form-success {
    text-align: center;
    padding: 2rem 0;
}

.demo-form-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.demo-form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.demo-form-success p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    background: hsl(var(--muted) / 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

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

.form-error {
    font-size: 0.75rem;
    color: hsl(var(--destructive));
}

.form-submit {
    margin-top: 1rem;
    width: 100%;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-submit .submit-text{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Icons (using inline SVGs for simplicity) */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Area - Simple scrollbar styling */
.modal-body::-webkit-scrollbar {
    width: 0.5rem;
}

.modal-body::-webkit-scrollbar-track {
    background: hsl(var(--muted) / 0.3);
    border-radius: 0.25rem;
}

.modal-body::-webkit-scrollbar-thumb {
    background: hsl(var(--muted));
    border-radius: 0.25rem;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--muted-foreground));
}

/* Screen reader only */
.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;
}

/* Hidden elements */
.hidden {
    display: none !important;
}

/* Text utilities */
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: hsl(var(--muted-foreground)); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }

/* Best For boxes */
.best-for {
    font-weight: 600;
    color: hsl(var(--foreground));
}
