/* CSS Variables for Theme Colors */
:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 0%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 0%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 0%;
    --primary: 346 100% 57%;
    --primary-foreground: 355.7 100% 97.3%;
    --secondary: 0 0% 95%;
    --secondary-foreground: 0 0% 0%;
    --muted: 0 0% 95%;
    --muted-foreground: 0 0% 40%;
    --accent: 0 0% 95%;
    --accent-foreground: 0 0% 0%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;
    --border: 0 0% 90%;
    --input: 0 0% 90%;
    --ring: 0 0% 0%;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.5rem;
}

.dark {
    --background: 0 0% 0%;
    --foreground: 0 0% 100%;
    --card: 0 0% 0%;
    --card-foreground: 0 0% 100%;
    --popover: 0 0% 0%;
    --popover-foreground: 0 0% 100%;
    --primary: 346 100% 57%;
    --primary-foreground: 355.7 100% 97.3%;
    --secondary: 0 0% 10%;
    --secondary-foreground: 0 0% 100%;
    --muted: 0 0% 10%;
    --muted-foreground: 0 0% 60%;
    --accent: 0 0% 10%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 100%;
    --border: 0 0% 15%;
    --input: 0 0% 15%;
    --ring: 0 0% 100%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Selection styles */
::-moz-selection {
    background: hsl(var(--primary));
    color: white;
}

::selection {
    background: hsl(var(--primary));
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: hsl(var(--background) / 0.6);
    backdrop-filter: blur(12px);
}

.header-container {
    display: flex;
    height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 640px) {
    .header {
        background-color: hsl(var(--background) / 0.6);
        backdrop-filter: blur(12px);
    }
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    text-transform: capitalize;
}

.mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.mode-toggle:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    rotate: 0deg;
    scale: 1;
}

.moon-icon {
    rotate: 90deg;
    scale: 0;
}

.dark .sun-icon {
    rotate: -90deg;
    scale: 0;
}

.dark .moon-icon {
    rotate: 0deg;
    scale: 1;
}

.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;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    transition: filter 0.3s ease;
}

.dark .logo-image {
    filter: invert(1);
}

.header-separator {
    height: 1.5rem;
    width: 1px;
    background-color: hsl(var(--border));
}

.company-name {
    text-decoration: none;
    color: hsl(var(--foreground));
}

.company-name p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 1rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.nav-separator {
    height: 2.5rem;
    width: 1px;
    margin: 0 0.5rem;
    background-color: hsl(var(--border));
}

.signup-button {
    display: inline-flex;
    items-center: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid hsl(var(--input));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.signup-button:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.desktop-nav {
    display: none;
}

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

/* Container */
.container {
    position: relative;
    padding: 0 2rem;
}

/* Utility Classes */
.desktop-text {
    display: block;
}

.mobile-text {
    display: none;
}

.desktop-arrow,
.desktop-link,
.desktop-separator {
    display: block;
}

.mobile-arrow {
    display: none;
}

.hidden {
    display: none !important;
}

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

/* Mobile Responsive */
@media (max-width: 640px) {
    .desktop-text {
        display: none;
    }
    
    .mobile-text {
        display: block;
    }
    
    .desktop-arrow,
    .desktop-link,
    .desktop-separator {
        display: none;
    }
    
    .mobile-arrow {
        display: block;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Hero Section */
.hero-section {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    height: calc(100vh - 300px);
    margin-top: 50px;
    margin-bottom: 100px;
    min-height: 600px;
}

.dark .hero-section {
    background-color: transparent;
    color: hsl(var(--foreground));
    border: 10px solid hsl(var(--foreground));
    border-radius: 0;
}

@media (max-width: 1024px) {
    .hero-section {
        height: calc(100vh - 200px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 260px);
        margin-top: 1.25rem;
        margin-bottom: 50px;
    }
}

/* Sound Visualizer */
.sound-container {
    position: absolute;
    inset: 0;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sound-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    gap: 40px;
}

.sound-bar {
    background-color: currentColor;
    width: 4px;
    height: 50vh;
    border-radius: 0;
    opacity: 0.1;
    transform-origin: center;
    animation: sound-wave var(--duration, 0.7s) infinite alternate ease-in-out;
    animation-delay: var(--delay, 0s);
}

@keyframes sound-wave {
    0% {
        transform: scaleY(0.25);
    }
    100% {
        transform: scaleY(var(--scale-y, 0.5));
    }
}

/* Hero Content */
.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 3rem 1rem;
}

.dark .hero-content {
    padding: 3rem 1rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

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

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

.highlighted-text {
    color: hsl(var(--foreground));
    border-bottom: 2px solid hsl(var(--foreground));
}

.dark .highlighted-text {
    border-bottom-color: hsl(var(--foreground));
}

.hero-description {
    font-size: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
}

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

.hero-button-container {
    display: flex;
    justify-content: center;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

.hero-button {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    border: none;
    border-radius: 9999px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.hero-button:hover {
    background-color: hsl(var(--background) / 0.9);
    transform: scale(1.1);
}

.dark .hero-button {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
}

.dark .hero-button:hover {
    background-color: hsl(var(--foreground) / 0.9);
}

@media (min-width: 768px) {
    .hero-button {
        font-size: 1.125rem;
        padding: 1.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-button {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

@media (min-width: 768px) {
    .scroll-indicator {
        bottom: 1.25rem;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .scroll-indicator {
        bottom: 2.5rem;
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: hsl(var(--background));
    margin: 0;
    padding: 0;
}

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

.chevron-down {
    color: hsl(var(--background));
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.dark .chevron-down {
    color: hsl(var(--foreground));
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Sections */
.how-it-works-section,
.pricing-section,
.faq-section,
.cta-section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .pricing-section,
    .faq-section {
        padding: 2rem 0;
    }
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }
}

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

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

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #6b7280;
}

/* How It Works Section */
.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1792px;
    margin: 0 auto;
    gap: 1rem;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        gap: 2rem;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .step {
        width: calc(100% / 3);
    }
}

.step-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: hsl(var(--foreground));
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
    order: 1;
}

@media (min-width: 768px) {
    .step-number {
        font-size: 2.25rem;
        margin-bottom: 0;
        order: 3;
    }
}

.step-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    order: 2;
}

.step-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    order: 3;
}

@media (min-width: 768px) {
    .step-description {
        margin-bottom: 0;
    }
}

.arrow-container {
    margin: 0;
    color: #0a0a0a;
}

@media (prefers-color-scheme: dark) {
    .arrow-container {
        color: #ffffff;
    }
}

@media (min-width: 768px) {
    .arrow-container {
        margin: 2rem 0;
    }
}

/* CTA Container */
.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
}

.cta-button:hover {
    background-color: hsl(var(--foreground) / 0.9);
}

.cta-button.large {
    padding: 1.5rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 900;
}

@media (min-width: 768px) {
    .cta-button {
        padding: 1.5rem 2rem;
        font-size: 1.125rem;
    }
}

/* Pricing Section */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .pricing-header {
        margin-bottom: 4rem;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1536px;
    margin: 0 auto;
}

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

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

/* Pricing Cards */
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease;
}

.pricing-card.popular {
    border-color: hsl(var(--foreground));
    box-shadow: 0 0 0 1px hsl(var(--foreground));
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background-color: hsl(var(--background));
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--foreground));
}

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

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 2;
}

.plan-description {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

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

.price-container {
    display: flex;
    align-items: baseline;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-left: 0.25rem;
}

.overage-rate {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.5rem;
    margin-left: 0.25rem;
}

.plan-button {
    margin-bottom: 2rem;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
    border: none;
}

.subscribe-button:hover {
    background-color: hsl(var(--foreground) / 0.9);
}

.subscribe-button.outline {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--input));
}

.subscribe-button.outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: auto;
    space-y: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.check-icon {
    height: 1.25rem;
    width: 1.25rem;
    margin-top: 0.125rem;
    flex: none;
    color: hsl(var(--foreground));
}

.x-icon {
    height: 1.25rem;
    width: 1.25rem;
    margin-top: 0.125rem;
    flex: none;
    color: hsl(var(--muted-foreground));
}

.feature.not-included span:last-child {
    text-decoration: line-through;
    color: hsl(var(--muted-foreground));
}

/* Pricing Calculator */
.pricing-calculator {
    padding: 12rem 0 0;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.calculator-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

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

.calculator-container {
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background-color: hsl(var(--background));
}

.calculator-controls {
    margin-bottom: 2rem;
}

.control-group {
    margin-bottom: 2rem;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.control-header label {
    font-weight: 500;
}

.reset-button {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: color 0.2s ease;
}

.reset-button:hover {
    color: hsl(var(--foreground));
    background-color: transparent;
}

.control-group select {
    height: 2.5rem;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--input));
    background-color: hsl(var(--background));
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.control-group select:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring));
    border-color: hsl(var(--ring));
}

.dark .control-group select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.control-group input[type="range"] {
    position: relative;
    width: 100%;
    height: 1.25rem;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.control-group input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, 
        hsl(var(--foreground)) 0%, 
        hsl(var(--foreground)) var(--range-progress, 50%), 
        hsl(var(--secondary)) var(--range-progress, 50%), 
        hsl(var(--secondary)) 100%);
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: hsl(var(--background));
    border: 2px solid hsl(var(--foreground));
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: -0.375rem;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

.control-group input[type="range"]::-webkit-slider-thumb:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

.control-group input[type="range"]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    border-radius: 9999px;
    background: hsl(var(--secondary));
    border: none;
}

.control-group input[type="range"]::-moz-range-progress {
    height: 0.5rem;
    border-radius: 9999px;
    background: hsl(var(--foreground));
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: hsl(var(--background));
    border: 2px solid hsl(var(--foreground));
    cursor: pointer;
    border-radius: 50%;
}

.control-group input[type="range"]::-moz-range-thumb:hover {
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

.control-group input[type="range"]::-moz-range-thumb:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

/* Calculation Results */
.calculation-results {
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.total-row {
    font-size: 1.125rem;
    font-weight: bold;
    padding-top: 1rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid hsl(var(--border));
}

/* Savings Alert */
.savings-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: 1px solid hsl(var(--foreground));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
}

.alert-icon {
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 0.875rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.alert-subtitle {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    margin: 0;
    padding: 0;
}

.alert-subtitle a {
    text-decoration: underline;
    color: inherit;
}

.calculator-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

.calculator-disclaimer a {
    text-decoration: underline;
    color: inherit;
}

/* FAQ Section */
.faq-header {
    margin-top: 0rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.expand-all-button {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.expand-all-button:hover {
    color: #0a0a0a;
    background-color: transparent;
}

@media (prefers-color-scheme: dark) {
    .expand-all-button {
        color: #374151;
    }
    
    .expand-all-button:hover {
        color: #ffffff;
        background-color: transparent;
    }
}

.faq-container {
    text-align: left;
    margin-top: 1.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

.faq-item {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    border-color: hsl(var(--foreground));
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: inherit;
}

.faq-question:hover {
    background-color: transparent;
}

.faq-question h3 {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.faq-question .chevron-down {
    height: 1.25rem;
    width: 1.25rem;
    transition: transform 0.2s ease;
    font-size: 1.25rem;
    animation: none;
}

.faq-question .chevron-down.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
    max-height: 0;
    opacity: 0;
}

.faq-answer.expanded {
    max-height: 500px;
    opacity: 1;
}

.faq-content {
    padding: 1rem;
    padding-top: 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.faq-content p {
    margin-top: 1rem;
}

.faq-content p:first-child {
    margin-top: 0;
}

.faq-list {
    list-style: none;
    margin-top: 1rem;
    margin-left: 0;
    padding: 0;
}

.faq-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.faq-list .bullet {
    font-weight: 600;
    display: inline-block;
}

.email-link {
    text-decoration: underline;
    color: inherit;
    transition: color 0.2s ease;
}

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

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

/* Footer Fixed (appears on scroll) */
.footer-fixed {
    width: 100%;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    transition: all 0.5s ease;
    z-index: 50;
    position: fixed;
    bottom: -6rem;
    left: 0;
    font-size: 0.75rem;
}

.footer-fixed.visible {
    bottom: 0;
}

/* Footer Static (at bottom of page) */
.footer-static {
    width: 100%;
    background-color: hsl(var(--background));
    font-size: 0.75rem;
    margin-top: 4rem;
}

@media (max-width: 640px) {
    .footer-fixed {
        display: none !important;
    }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-separator {
    height: 1rem;
    width: 1px;
    background-color: hsl(var(--border));
    display: inline;
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: hsl(var(--muted-foreground));
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.texas-image {
    width: 1rem;
    height: 1rem;
    transition: opacity 0.3s ease;
}

.texas-light {
    display: inline-block;
}

.texas-dark {
    display: none;
}

.dark .texas-light {
    display: none;
}

.dark .texas-dark {
    display: inline-block;
}

.company-link {
    color: hsl(var(--foreground));
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .calculator-container,
    .faq-container {
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 1rem;
    }
}