/* --- New Theme Colors from Promo Image --- */
:root {
    --theme-primary: #F97316;
    /* Bright Orange from "Record" text */
    --theme-primary-dark: #EA580C;
    /* Darker orange for hover */
    --theme-secondary: #4338CA;
    /* A deep, accessible blue/purple from "Share" side */
    --theme-text-header: #1E293B;
    /* Dark Slate for headers */
    --theme-text-body: #475569;
    /* Lighter Slate for body text */
    --theme-text-muted: #64748b;
    /* Muted grey for things like legal page dates */
    --theme-bg-warm: #FEF3C7;
    /* Warm, light yellow/peach from "Record" bg */
    --theme-bg-cool: #E0E7FF;
    /* Cool, light lavender from "Share" bg */
    --theme-bg-light: #FFFFFF;
    --theme-bg-neutral: #F8FAFC;
    --theme-bg-accent: #F1F5F9;
    --theme-border: #E2E8F0;
    --theme-gradient-hero: linear-gradient(135deg, var(--theme-bg-warm) 0%, var(--theme-bg-cool) 100%);
    --theme-gradient-cta: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
}

/* --- End New Theme Colors --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--theme-text-header);
    background-color: var(--theme-bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--theme-text-header);
}

h1 {
    font-size: 3.75rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--theme-text-body);
    margin-bottom: 1rem;
}

a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

/* Primary CTA Button with gradient borders */
.btn-primary {
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

/* Remove any pseudo-elements that might add borders */
.btn-primary::before,
.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-secondary:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--theme-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-logo h2 {
    background: var(--theme-gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--theme-text-body);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--theme-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--theme-gradient-cta);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--theme-gradient-cta);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.cta-button::after {
    display: none;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--theme-text-header);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: var(--theme-gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    /* Adjusted gradient for better contrast - darker colors */
    background: linear-gradient(135deg, #1E293B 0%, #C2410C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--theme-text-body);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-screenshot {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--theme-bg-light);
}

.quick-tips {
    background: var(--theme-bg-accent);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--theme-text-body);
    max-width: 600px;
    /* margin-left: auto; */
    /* margin-right: auto; */
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--theme-bg-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--theme-border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--theme-gradient-cta);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-color: var(--theme-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--theme-text-header);
}

.feature-card p {
    color: var(--theme-text-body);
}

.space-top {
    margin-top: 2rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--theme-bg-neutral);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.about-list {
    list-style: none;
    space-y: 0.5rem;
}

.about-list li {
    color: var(--theme-text-body);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-screenshot {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.image-caption {
    font-size: 0.875rem;
    color: var(--theme-text-muted);
    text-align: center;
    max-width: 480px;
    margin: 0;
}

/* Use Cases */
.use-cases {
    background: var(--theme-bg-neutral);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--theme-bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--theme-border);
    padding: 1.5rem 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    list-style: none;
    /* Hide default marker */
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--theme-text-body);
}


/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--theme-gradient-cta);
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--theme-primary);
}

.cta .btn-primary:hover {
    background: var(--theme-bg-neutral);
    color: var(--theme-primary);
}

.cta-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--theme-text-header);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.last-updated {
    color: var(--theme-text-muted);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--theme-primary);
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--theme-text-header);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--theme-text-body);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--theme-bg-neutral);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--theme-bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--theme-text-header);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--theme-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Resource List Styles */
.resource-list {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--theme-bg-light);
    border: 1px solid var(--theme-border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateX(5px);
    border-color: var(--theme-primary);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.resource-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-item a {
    color: var(--theme-text-header);
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
}

.resource-item a:hover {
    color: var(--theme-primary);
}

@media (max-width: 640px) {
    .resource-list {
        margin: 1.5rem auto 0;
    }

    .resource-item {
        padding: 0.75rem 1rem;
    }

    .resource-item a {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--theme-bg-light);
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

.slider-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.review-card {
    flex: 0 0 300px;
    background: var(--theme-bg-neutral);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.stars {
    color: #FBBF24;
    /* gold */
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--theme-text-body);
    font-size: 0.95rem;
    line-height: 1.5;
}

ol.steps-list {
    padding-left: 20px;
    margin-bottom: 1rem;
}

/* Professional Table Styling */
.table-container {
    max-width: 1000px;
    margin: 2rem auto;
    background: var(--theme-bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    overflow: hidden;
    border: 1px solid var(--theme-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--theme-bg-light);
}

thead {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: white;
}

thead th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    position: relative;
}

thead th:first-child {
    border-top-left-radius: 12px;
}

thead th:last-child {
    border-top-right-radius: 12px;
}

thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--theme-border);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--theme-bg-neutral);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.05);
}

tbody td {
    padding: 1rem;
    color: var(--theme-text-body);
    border: none;
    vertical-align: middle;
}

tbody td:first-child {
    font-weight: 600;
    color: var(--theme-text-header);
}

/* Star rating styling */
tbody td:nth-child(2) {
    color: #FBBF24;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Cost column styling */
tbody td:nth-child(4) {
    font-weight: 600;
}

tbody td:nth-child(4):contains('Free') {
    color: #10B981;
}

tbody td:nth-child(4):contains('$') {
    color: var(--theme-primary);
}

/* Learning curve styling */
tbody td:last-child {
    font-weight: 500;
}

tbody td:last-child:contains('Low') {
    color: #10B981;
}

tbody td:last-child:contains('Medium') {
    color: #F59E0B;
}

tbody td:last-child:contains('High') {
    color: #EF4444;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-container {
        margin: 1rem auto;
        border-radius: 8px;
    }

    table {
        font-size: 0.875rem;
    }

    thead th {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }

    tbody td {
        padding: 0.75rem;
    }

    /* Stack table on mobile */
    .table-container {
        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }
}

/* Comparison table specific styling */
.comparison-table {
    margin: 3rem auto;
}

.comparison-table thead th {
    text-align: center;
}

.comparison-table tbody td {
    text-align: center;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--theme-text-header);
}

/* Success rate table styling */
.success-rate-table tbody td:nth-child(2),
.success-rate-table tbody td:nth-child(3) {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.success-rate-table tbody td:nth-child(2) {
    color: #EF4444;
}

.success-rate-table tbody td:nth-child(3) {
    color: #10B981;
}

/* Table animations */
.table-container {
    animation: fadeInUp 0.6s ease-out;
}

tbody tr {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

tbody tr:nth-child(1) {
    animation-delay: 0.1s;
}

tbody tr:nth-child(2) {
    animation-delay: 0.2s;
}

tbody tr:nth-child(3) {
    animation-delay: 0.3s;
}

tbody tr:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}