/* --- General Setup & Variables --- */
:root {
    --primary-color: #F79478;
    --dark-color: #1A1A1A;
    --text-color: #555;
    --light-bg-color: #FEFBF9;
    --white-color: #fff;
    --border-color: #eee;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg-color);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--dark-color);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--dark-color); }
ul { list-style-type: none; }

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Header --- */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(254, 251, 249, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
}
.btn-secondary:hover {
    background-color: #f0f0f0;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content .tag {
    display: inline-block;
    background-color: #fdeee9;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-top: 20px;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-demo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 450px;
    height: 450px;
}


/* --- Features Section --- */
.features-section {
    background-color: var(--white-color);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white-color);
    padding: 30px;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-card .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #fdeee9;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 10px;
}

/* --- Use Cases Section --- */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.use-case-card {
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.use-case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.use-case-content {
    padding: 25px;
    position: relative;
}
.use-case-content .icon-wrapper {
    position: absolute;
    top: -25px;
    left: 25px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--dark-color);
}
.use-case-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

/* --- Demo Section --- */
.demo-section {
    background-color: var(--white-color);
}
.demo-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.record-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.record-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(247, 148, 120, 0.5);
}
.record-button.is-recording {
    background-color: #e63946;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
#recordStatus {
    margin-bottom: 30px;
}
.transcription-output {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    min-height: 120px;
}
.transcription-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}
.transcription-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}
#transcriptionText {
    margin-bottom: 0;
}
.accuracy-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
    padding: 0 10px;
}
.accuracy-info span {
    position: relative;
    padding-left: 15px;
}
.accuracy-info span::before {
    content: '';
    width: 10px;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* --- CTA Section --- */
.cta-section {
    padding: 0;
}
.cta-container {
    background-color: var(--white-color);
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.cta-container h2, .cta-container p {
    color: var(--dark-color);
}
.cta-container h2 {
    font-style: italic;
    font-size: 3rem;
}
.cta-container p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.btn-light {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    padding: 15px 30px;
}
.btn-light i, .btn-outline i { margin: 0 5px; }
.cta-container .availability {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Pricing table styles (classic bordered table) */
.pricing-table {
    display: flex;
    justify-content: center; /* keep the table centered */
    margin-top: 30px;
}
.pricing-table__table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    background: var(--white-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}
.pricing-table__table th,
.pricing-table__table td {
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    text-align: left;
}
.pricing-table__table thead th {
    background: #faf5f2;
    font-weight: 700;
}
.pricing-table__table tbody tr:nth-child(even) td {
    background: #fff;
}
.pricing-note {
    text-align: center;
    margin-top: 12px;
    color: var(--dark-color);
}

/* Distinct Buy button */
.btn-buy {
    background-color: var(--primary-color) !important; /* ensure orange */
    color: var(--white-color) !important;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(247,148,120,0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247,148,120,0.25);
}

/* --- Footer --- */
.main-footer {
    padding: 60px 0 20px 0;
    background-color: var(--white-color);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about .logo {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-color);
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media(max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}

@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .main-nav .nav-links { display: none; } /* Simple hide for mobile, can be replaced with hamburger menu */
    .features-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
 /* General Body and Text Styles */
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 20px;
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 0.5em;
        }

        p {
            margin-bottom: 2em;
        }

        /* --- FIX APPLIED HERE --- */
        /* Table Styling: Use margin: auto to center the block-level table */
        .pricing-table {
            width: 90%; 
            max-width: 800px; 
            border-collapse: collapse; 
            display: table;
            margin: 0 auto 20px auto; /* Centers the table horizontally */
        }
        
        /* Removed .pricing-container as it is no longer necessary for centering */
        /* ----------------------- */

        /* Table Header (th) and Data (td) Styling (Kept the same for borders and padding) */
        .pricing-table th, .pricing-table td {
            border: 1px solid #ccc; 
            padding: 12px;
            text-align: left;
        }
        
        /* Style for the Header Row */
        .pricing-table th {
            background-color: #f7f7f7; 
            font-weight: bold;
            text-align: center; /* Center header text */
            vertical-align: top; /* Ensure headers align well */
        }

        /* Align columns for prices and counts to the right for better number readability */
        .price, .notes-count {
            text-align: right !important;
        }
        
        /* Centering the last column (where the button is) */
        .action-column {
            text-align: center;
        }

        /* Button Styling */
        .buy-now-btn {
            background-color: #ff8c69; 
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            font-weight: bold;
            text-decoration: none; 
            display: inline-block; 
        }

        /* Footer Text */
        .footer-text {
            font-size: 0.9em;
            color: #555;
            margin-top: 15px;
        }