:root {
    --primary-color: #679c8d;
    --secondary-color: #8eb3a7;
    --accent-color: #4a7c6d;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-section: #f5f6f7;
    --border-color: #e1e3e4;
    --success-color: #679c8d;
    --warning-color: #d4a574;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

a{
	color: var(--primary-color);
}

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

/* Fresh Navigation Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    min-width: 0;
}

/* Logo */
.logo img {
    height: 30px;
    width: auto;
    max-width: none;
    transform: translateY(3px);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-item:not(:last-child)::after {
    content: '|';
    color: var(--border-color);
    margin: 0 10px;
    font-weight: 300;
}

.nav-btn,
.nav-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 10px 0;
    margin: 0;
    text-decoration: none;
    font-family: inherit;
    transition: color 0.3s ease;
    display: inline-block;
    vertical-align: baseline;
    white-space: nowrap;
}

.nav-btn:hover,
.nav-link:hover {
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 12px;
    /* Removed rotation animation */
}

/* Dropdown Content */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Right-align dropdown for last nav item to prevent overflow */
.nav-wrapper .nav-item:last-of-type .dropdown-content {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--background-section);
    color: var(--primary-color);
}

/* Desktop Auth Buttons */
.desktop-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background-color: var(--background-section);
    color: var(--primary-color);
}

.signup-btn {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.signup-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}


/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px; /* Start below the navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); /* Full height minus navbar */
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

/* Mobile header removed - no longer needed */

.mobile-content {
    padding: 20px;
}

/* Mobile Dropdowns */
.mobile-dropdown {
    margin-bottom: 10px;
}

.mobile-dropdown-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.mobile-dropdown-btn:hover {
    background-color: var(--background-section);
}

.mobile-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--background-section);
    border-radius: 8px;
    margin: 5px 0 10px 0;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 200px;
}

.mobile-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    margin: 2px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mobile-dropdown-content a:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Mobile Links */
.mobile-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}

.mobile-link:hover {
    background-color: var(--background-section);
    color: var(--primary-color);
}

/* Mobile Auth */
.mobile-auth {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-login {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.mobile-login:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-signup {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-signup:hover {
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: #26d0ce;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    padding: 4rem 0;
    margin-top: -1px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    align-items: flex-start;
    gap: 0.5rem;
}

.offer-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.7;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* Features Section */
.features {
	padding-bottom: 4rem;
    background: var(--background-section);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Speech Types Section */
.speech-types {
    padding: 4rem 0;
}

.speech-types h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.speech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.speech-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.speech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.speech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.speech-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.speech-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.speech-link {
    background: var(--background-section);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.speech-link:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/* Recent Articles Section */
.recent-articles {
    padding: 4rem 0;
    background-color: var(--background-section);
}

.recent-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.article-link:hover {
    color: var(--accent-color);
}

.articles-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.guarantee {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 3rem 0 calc(1rem + 90px);
	margin-top: 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 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.price-highlight {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--background-section);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-color);
}

.price-highlight h3 {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Speech Hero Section */
.speech-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    padding: 3rem 0;
}

.speech-hero .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.speech-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.speech-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.speech-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}





.speech-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Speech Lines Section */
.speech-lines {
    padding: 3rem 0;
}

/* Filters Section */
.filters-section {
    margin-bottom: 3rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.filters-title h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.filters-title p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.filters-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    transition: border-bottom-color 0.3s ease, margin-bottom 0.3s ease;
}

.filters-collapse-btn.collapsed ~ .filters-header-inline {
    border-bottom-color: transparent;
    margin-bottom: 0;
}

.filters-form.collapsed-state {
    padding-bottom: 0.375rem;
    cursor: pointer;
    transition: padding 0.3s ease, background-color 0.2s ease;
}

.filters-form.collapsed-state:hover {
    background-color: #ebfaf6;
}

.filters-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-count {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-types {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.filters-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filters-toggle:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.filters-toggle.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.filters-toggle.collapsed .toggle-text::after {
    content: "Show Filters";
}

.filters-toggle.collapsed .toggle-text {
    font-size: 0;
}

.member-only-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1rem;
}

.filters-form {
    background: #f1fcf9;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    transition: padding 0.3s ease;
}


.filters-collapse-btn {
    position: absolute;
    top: 1.625rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.filters-collapse-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.collapse-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.filters-collapse-btn.collapsed .collapse-arrow {
    transform: rotate(180deg);
}

.filters-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.filters-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.filters-form.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.filter-icon {
    font-size: 1rem;
}

.filter-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--background-light);
    color: var(--text-primary);
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(103, 156, 141, 0.1);
}

/* Select2 Custom Styling */
.select2-container .select2-selection--multiple {
    border: 2px solid var(--border-color) !important;
    border-radius: 8px !important;
    min-height: 50px !important;
    padding: 5px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(103, 156, 141, 0.1) !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 14px !important;
    padding: 4px 8px !important;
    margin: 2px !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    font-weight: bold !important;
    margin-right: 8px !important;
    border-right: none !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ff4444 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 8px !important;
}

.select2-dropdown {
    border: 2px solid var(--primary-color) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-hover) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 16px !important;
    padding: 5px !important;
    height: 22px !important;
}

/* Tone Slider Styles */
.tone-slider-container {
    width: 100%;
}

.tone-slider {
    position: relative;
    margin-bottom: 1rem;
}

.tone-range {
    display: none;
}

.tone-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.tone-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tone-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.tone-track {
    position: static;
    margin-top: 1rem;
}

.tone-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.tone-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--background-light);
    text-align: center;
    min-width: auto;
    font-weight: 500;
    white-space: nowrap;
}

.tone-label:hover {
    border-color: var(--primary-color);
    background: rgba(103, 156, 141, 0.1);
}

.tone-label.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

/* Length Slider Styles */
.length-slider-container {
    width: 100%;
}

.length-slider {
    position: relative;
    margin-bottom: 1rem;
}

.length-range {
    display: none;
}

.length-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.length-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.length-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.length-track {
    position: static;
    margin-top: 1rem;
}

.length-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.length-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--background-light);
    text-align: center;
    min-width: auto;
    font-weight: 500;
    white-space: nowrap;
}

.length-label:hover {
    border-color: var(--primary-color);
    background: rgba(103, 156, 141, 0.1);
}

.length-label.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

/* Mobile Filter Improvements - Replace sliders with button groups */
@media (max-width: 768px) {
    /* Mobile filters header */
    .filters-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .filters-summary {
        width: 100%;
    }
    
    .filters-collapse-btn {
        width: 44px;
        height: 44px;
        top: 1.375rem;
        right: 0.625rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        z-index: 20;
    }
    
    .collapse-arrow {
        font-size: 16px;
    }
    
    /* Hide the actual slider input on mobile */
    .tone-range, .length-range {
        display: none;
    }
    
    /* Show the track container but remove positioning */
    .tone-track, .length-track {
        position: static;
        top: auto;
        left: auto;
        right: auto;
    }
    
    /* Show labels as button groups */
    .tone-labels, .length-labels {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
        margin-top: 0;
        position: static;
    }
    
    .tone-label, .length-label {
        font-size: 0.85rem;
        padding: 10px 16px;
        min-width: auto;
        border: 2px solid var(--border-color);
        border-radius: 20px;
        background: var(--background-light);
        color: var(--text-primary);
        cursor: pointer;
        transition: var(--transition);
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    
    .tone-label:hover, .length-label:hover {
        border-color: var(--primary-color);
        background: rgba(103, 156, 141, 0.1);
    }
    
    .tone-label.active, .length-label.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        font-weight: 500;
    }
    
    /* Ensure containers don't interfere */
    .tone-slider-container, .length-slider-container {
        width: 100%;
    }
    
    .tone-slider, .length-slider {
        margin-bottom: 0;
    }
}

.filter-action {
    justify-content: flex-start;
    align-items: flex-start;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
}

.filter-btn-icon {
    font-size: 1rem;
}

.filter-notice {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.notice-icon {
    font-size: 1.1rem;
}

.notice-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.notice-link:hover {
    text-decoration: underline;
}

/* Preview Section */
.preview-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.preview-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Speech Lines Cards */
.speech-lines-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.speech-line-card {
    background: #ffffff;
    border: 2px solid #e8ecef;
    border-radius: 24px;
    padding: 2rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 2rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: visible;
}

.speech-line-card::before {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -13px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #ffffff;
    transition: all 0.3s ease;
    z-index: 2;
}

.speech-line-card::after {
    content: '';
    position: absolute;
    left: calc(2rem - 1px);
    bottom: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #e8ecef;
    z-index: 1;
    transition: border-top-color 0.3s ease;
}

.speech-line-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.speech-line-card:hover::after {
    border-top-color: var(--primary-color);
}

.line-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(74, 124, 109, 0.12) 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.speech-line-card:hover .line-number {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(74, 124, 109, 0.2) 100%);
    border-color: var(--primary-color);
}

.line-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.line-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.line-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

/* Floating counter */
.floating-counter {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

/* Mobile positioning */
@media (max-width: 768px) {
    .floating-counter {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }
}

.floating-counter:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-counter-icon {
    font-size: 1.5rem;
    color: white;
}

.floating-counter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #ff4757;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

/* Pagination */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2rem 0;
}

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

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--background-section);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 1rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.pagination-number:hover {
    background: var(--background-section);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.pagination-dots {
    color: var(--text-secondary);
    padding: 0 0.5rem;
    font-weight: bold;
}

/* Desktop/Mobile pagination visibility */
.pagination-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-mobile {
    display: none;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.pagination-info strong {
    color: var(--text-primary);
}

/* Save button styles */
.save-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}


.line-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.line-tag {
    background: var(--background-section);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--border-color);
}

.line-tag.humorous { border-color: #ffa500; background: rgba(255, 165, 0, 0.1); }
.line-tag.childhood { border-color: #87ceeb; background: rgba(135, 206, 235, 0.1); }
.line-tag.lighthearted { border-color: #98fb98; background: rgba(152, 251, 152, 0.1); }
.line-tag.traditional { border-color: #dda0dd; background: rgba(221, 160, 221, 0.1); }
.line-tag.heartfelt { border-color: #ffb6c1; background: rgba(255, 182, 193, 0.1); }
.line-tag.romantic { border-color: #ff69b4; background: rgba(255, 105, 180, 0.1); }
.line-tag.funny { border-color: #ffd700; background: rgba(255, 215, 0, 0.1); }
.line-tag.british { border-color: #4169e1; background: rgba(65, 105, 225, 0.1); }
.line-tag.joke { border-color: #ff6347; background: rgba(255, 99, 71, 0.1); }
.line-tag.classic { border-color: #daa520; background: rgba(218, 165, 32, 0.1); }

.save-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-section);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.save-btn:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.save-icon {
    font-size: 1rem;
}

/* Responsive Speech Lines */
@media (max-width: 768px) {
    .speech-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .speech-hero h1 {
        font-size: 2rem;
    }

    .speech-hero-description {
        display: none !important;
    }
    
    .speech-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    
    
    .speech-line-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .line-number {
        min-width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .line-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Mobile pagination */
    .pagination-container {
        padding: 0 1.5rem; /* Reasonable padding */
        box-sizing: border-box;
    }
    
    .pagination {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.125rem; /* Reduced gap to save space */
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .pagination-btn .pagination-text {
        display: none;
    }
    
    .pagination-btn {
        padding: 0.5rem;
        min-width: 40px;
        font-size: 0.875rem;
        flex-shrink: 0; /* Prevent stretching */
        width: auto; /* Override any flex-grow */
    }
    
    .pagination-numbers {
        margin: 0 0.25rem;
        gap: 0.125rem;
    }
    
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    /* Hide all page numbers on mobile - just show prev/next buttons */
    .pagination-numbers {
        display: none;
    }
    
    
    
    .line-number {
        align-self: flex-start;
        min-width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    
    .line-footer {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 1rem;
    }
    
    .save-btn {
        justify-content: center;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Legacy pagination styles - keeping for backward compatibility but not affecting .pagination-number */
.pagination a:not(.pagination-number):not(.pagination-btn),
.pagination span:not(.pagination-number):not(.pagination-dots) {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

/* Legacy pagination hover/current styles */
.pagination a:not(.pagination-number):not(.pagination-btn):hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.pagination .current:not(.pagination-number) {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    height: 200px;
    background: var(--background-section);
    background-size: cover;
    background-position: center;
}

/* Article card link styles */
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.article-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.article-title a {
    text-decoration: none;
    color: inherit;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Article Detail */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 990px) {
    .nav-wrapper {
        padding: 0 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    /* Hide desktop elements */
    .desktop-nav,
    .desktop-auth {
        display: none;
    }
    
    /* Show mobile button */
    .mobile-toggle {
        display: flex;
    }
    
    /* Recent articles responsive */
    .recent-articles h2 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features h2,
    .speech-types h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .speech-cards {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .speech-line {
        flex-direction: column;
        align-items: stretch;
    }
    
    .save-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .features,
    .speech-types {
        padding: 2rem 0;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .features-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Detail Styles */
.article-detail .article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}




.article-detail .article-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
	margin-top: 1rem;
}

.article-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.article-detail .article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-detail .article-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: left;
}

.article-detail .article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-detail .article-body h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-detail .article-body h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.article-detail .article-body p {
    margin-bottom: 1.5rem;
}

.article-detail .article-body ul,
.article-detail .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-detail .article-body li {
    margin-bottom: 0.5rem;
}

.article-detail .article-body blockquote {
    background: var(--background-section);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: var(--border-radius);
}

.article-detail .article-body blockquote p {
    margin-bottom: 0;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.article-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.article-cta .btn {
    background: white;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-cta .small-print {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.related-articles {
    background: var(--background-section);
    padding: 4rem 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.newsletter-signup {
    padding: 4rem 0;
    background: var(--text-primary);
    color: var(--text-light);
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form .form-control {
    flex: 1;
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .article-detail h1 {
        font-size: 1.8rem;
    }
    
    .article-detail .article-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-detail .article-intro {
        font-size: 1.1rem;
    }
    
    .article-detail .article-body {
        font-size: 1rem;
    }
    
    .article-detail .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-detail .article-body h3 {
        font-size: 1.3rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Loading and States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.success {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Preview Mode for Non-Members */
.preview-overlay {
    position: relative;
}

.preview-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(255, 255, 255, 0.9) 80%, white 100%);
    pointer-events: none;
}

.signup-prompt {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.signup-prompt h3 {
    margin-bottom: 1rem;
}

.signup-prompt p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Improved Signup CTA Box */
.signup-cta-box {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 16px;
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(103, 156, 141, 0.3);
}

.signup-cta-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
}

.signup-cta-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.signup-cta-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 1rem;
}

.signup-cta-features {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.1rem;
    min-width: 1.5rem;
    text-align: center;
}

.signup-cta-actions {
    padding: 1.5rem 2rem 2rem 2rem;
    text-align: center;
}

.signup-cta-actions .btn {
    margin-bottom: 1rem;
    display: inline-block;
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.signup-cta-actions .btn:hover {
    background: var(--background-light);
    border-color: white;
}

.price-offer {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.price-offer .old-price {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 0.5rem;
}

.price-offer .current-price {
    font-weight: 700;
    color: #ffeb3b;
    font-size: 1.2em;
}

/* Mobile responsive for CTA box */
@media (max-width: 768px) {
    .signup-cta-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .signup-cta-header,
    .signup-cta-features,
    .signup-cta-actions {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Related Speeches Section */
.related-speeches {
    padding: 4rem 0;
    background: var(--background-section);
}

.related-speeches h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.speech-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.speech-type-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid #e8ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.speech-type-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 124, 109, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.speech-type-card:hover::before {
    opacity: 1;
}

.speech-type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f5 100%);
}

.speech-type-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.speech-type-card:hover .speech-type-icon {
    transform: scale(1.1);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.speech-type-content {
    text-align: center;
}

.speech-type-content h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.speech-type-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.speech-orientations {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.orientation-link {
    padding: 0.65rem 1.25rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e8ecef;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.orientation-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.25);
}

/* Mobile responsive for related speeches */
@media (max-width: 768px) {
    .speech-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .speech-type-card {
        padding: 1.5rem;
    }
    
    .speech-type-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 6rem 0 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--background-section);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: var(--primary-color);
    color: white;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-member h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-member p:last-child {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials (already styled but ensuring consistency) */
.testimonials {
    padding: 6rem 0;
    background: var(--background-section);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 4rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    margin-bottom: 1.5rem;
}

.guarantee {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .value-card,
    .team-member {
        padding: 2rem;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.contact-item h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.contact-form-container {
    background: #f1fcf9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.contact-form h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact success message */
.contact-success-message {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f1fcf9 0%, #e8f8f4 100%);
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-success-message h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.contact-success-message p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ Preview Section */
.faq-preview {
    padding: 3rem 0 6rem 0;
    background: white;
}

.faq-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 4rem;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    /* Contact success message mobile */
    .contact-success-message {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .contact-success-message h2 {
        font-size: 1.8rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .contact-success-message p {
        font-size: 1rem;
    }
}

/* Signup Page Styles */
.signup-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, white 100%);
}

.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.signup-info h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.benefits-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-item:first-child {
    padding-top: 0;
}

.benefit-icon {
    font-size: 1.25rem;
    min-width: 1.75rem;
    text-align: center;
}

.benefit-item div:last-child {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.price-highlight {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.price-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.9em;
}

.price-highlight p {
    opacity: 0.9;
    margin: 0;
}

.signup-form-container {
    background: #f1fcf9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.signup-form h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

/* iOS Safari select styling */
.form-control select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
    cursor: pointer;
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
}

.signup-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.signup-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-footer a:hover {
    text-decoration: underline;
}

.security-badges {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.security-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}


/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Login Page Styles */
.login-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, white 100%);
}

.login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.login-info {
    text-align: center;
}

.login-info h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.login-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}


.login-form-container {
    background: #f1fcf9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.login-form h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-links {
    text-align: center;
    margin: 1.5rem 0;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}


.signup-prompt {
    text-align: center;
    color: var(--text-primary);
    margin: 1.5rem 0 0 0;
    background: #f1fcf9;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.signup-prompt a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

/* Security Section */
.security-section {
    padding: 5rem 0;
    background: var(--background-section);
}

.security-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.security-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.security-feature h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.security-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Help Section */
.help-section {
    padding: 5rem 0;
}

.help-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.help-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.help-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.help-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.help-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.help-item a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .signup-content,
    .login-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .signup-info h1,
    .login-info h1 {
        font-size: 2rem;
    }
    
    .signup-form-container,
    .login-form-container {
        padding: 2rem;
    }
    
    .faq-grid,
    .security-features,
    .help-grid {
        grid-template-columns: 1fr;
    }
}

.recaptchaterms{
	font-size: 70%;
	color: #7f888f;
	margin-top: 25px;
	margin-bottom: 0px;
}

.formerror{
	color: #FF0000;
	font-weight: bold;
	font-size: 80%;
	margin-top: 20px;
	margin-bottom: 20px;
}

.didyoumeanothersite{
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Account Page Styles */
.account-content {
    max-width: 800px;
    margin: 0 auto;
}

.account-section {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.account-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.welcome-name-input-section {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.welcome-name-input-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.welcome-name-input-section p {
    margin-bottom: 1.5rem;
}

.account-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--text-primary);
    min-width: 150px;
}

.detail-value {
    color: var(--text-secondary);
    text-align: right;
    flex: 1;
}

.form-container {
    max-width: 500px;
}

.account-form .form-group {
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.form-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.names-form-container {
    background: #f1fcf9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

@media (max-width: 768px) {
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn {
        text-align: center;
    }
}

/* Name form specific styling */
.names-form-container .row.gtr-uniform {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.names-form-container .col-12 {
    display: flex;
    flex-direction: column;
}

.names-form-container .col-12 label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.names-form-container .col-12 input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--background-light);
    color: var(--text-primary);
    transition: var(--transition);
}

.names-form-container .col-12 input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(103, 156, 141, 0.1);
}

.names-form-container .actions {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.names-form-container input[type="submit"] {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.names-form-container input[type="submit"]:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Updated names form styling to match signup form */
.names-form-container .form-group {
    margin-bottom: 1.5rem;
}

.names-form-container .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.names-form-container .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
}

.names-form-container .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.names-form-container .form-actions {
    margin-top: 1.5rem;
}

.names-form-container .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.names-form-container .btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Info list styling */
.info-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.info-list li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.saved-list-content {
    padding: 6rem 0;
}

/* Saved List Page Styles */
.saved-list-container {
    max-width: 900px;
    margin: 0 auto;
}

.empty-state {
    text-align: center;
    padding: 0rem 2rem;
}

.empty-state-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.saved-lines-header {
    text-align: center;
    margin-bottom: 3rem;
}

.saved-lines-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.line-count {
    color: var(--text-secondary);
    font-size: 1rem;
}

.saved-lines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.speech-line-card {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1rem 0.75rem 1rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.speech-line-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.4;
    flex-shrink: 0;
    font-weight: bold;
    line-height: 1;
}

.quote-left {
    align-self: flex-start;
}

.quote-right {
    align-self: flex-end;
}

.speech-content {
    flex: 1;
    min-width: 0;
}

.speech-content p {
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

.line-actions {
    flex-shrink: 0;
    align-self: center;
}

.remove-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 2rem;
    height: 2rem;
}

.remove-link:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    text-decoration: none;
}

.remove-link {
    font-size: 1.25rem;
    line-height: 1;
}

.continue-browsing {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .speech-line-card {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .speech-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .quote-icon {
        font-size: 1.25rem;
    }
    
    .remove-link {
        width: 1.75rem;
        height: 1.75rem;
        padding: 0.375rem;
        font-size: 1.1rem;
    }
}