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

body {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f0ff 100%);
}

a {
    color: inherit;
    text-decoration: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { 
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem; 
    line-height: 1.3;
}

h2 { 
    font-size: clamp(1.75rem, 3.5vw, 2.25rem); 
    margin-bottom: 1.25rem;
}

h3 { 
    font-size: clamp(1.4rem, 2.8vw, 1.75rem); 
    margin-bottom: 1rem;
    color: #2c3e50;
}

h4, h5, h6 {
    font-size: 1.1rem;
    color: #374151;
}

.hero {
    background: linear-gradient(135deg, #608edb 0%, #c3d0e0 100%);
    color: white; padding: 2rem 0; text-align: center; position: relative;
}

.navbar {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 1.8rem; font-weight: bold; }

.nav-logo {
  display: flex;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.75rem;
}

.nav-links {
    display: flex; list-style: none; gap: 2rem;
}

.nav-links a {
    color: white; text-decoration: none; font-weight: 500;
    padding: 0.5rem 1rem; border-radius: 25px; transition: all 0.3s;
}

.nav-links a:hover { 
    background: rgba(255,255,255,0.25); 
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}
.hero-content { padding: 0 2rem; max-width: 1200px; margin: 0 auto; }
.hero-content h1 { 
    color: white !important; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-content p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.blog-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e2e8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-container {
    max-width: 1200px; margin: 4rem auto; padding: 0 2rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem;
}

.blog-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card-img {
    width: 100%; height: 200px; object-fit: cover; display: block;
}

.card-content { padding: 2rem; }
.card-content h2 { 
    font-size: 1.5rem; margin-bottom: 0.5rem; color: #1e3a5f; 
}
.card-content h2 a { color: inherit; text-decoration: none; }
.card-content h2 a:hover { color: #608edb; }

.date {
    color: #7f8c8d; font-size: 0.9rem; margin-bottom: 1rem; font-weight: 500;
    padding: 0.4rem 0.8rem; background: #f8f9ff; border-radius: 15px; display: inline-block;
}

.card-content p { 
    margin-bottom: 1.5rem; color: #555; 
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.read-more {
    display: inline-block;
    background: linear-gradient(135deg, #608edb 0%, #c3d0e0 100%);
    color: white; padding: 0.8rem 1.5rem; border-radius: 50px;
    text-decoration: none; font-weight: 500; transition: all 0.3s;
}

.read-more:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(102,126,234,0.4); }

.single-post-container {
    max-width: 900px; margin: 4rem auto; padding: 0 2rem;
}

.single-post {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(15px);
    border-radius: 24px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2); margin-bottom: 4rem;
}

.featured-image { max-width: 100%; height: auto; overflow: hidden; }
.featured-img { width: 100%; height: 100%; object-fit: cover; }

.post-content { padding: 4rem; }
.content-body { 
    font-size: 1.1rem; line-height: 1.8; color: #444; 
}
.content-body p { margin-bottom: 1.5rem; }

.post-category { position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2; 
    
}
    
.category-badge {
    background: rgba(96, 142, 219, 0.1);
    color: #608edb;
    border: 1px solid rgba(96, 142, 219, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-meta {
    display: flex; gap: 1.5rem; align-items: center; opacity: 0.95;
    font-size: 1rem; margin-top: 1rem; flex-wrap: wrap;
}

.pagination-container {
    margin: 3rem 0 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.5rem;
    margin: 0 !important;
    list-style: none !important;
    background: transparent;
}


.page-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: contents !important;
}

.page-link {
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    min-width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.15s ease;
    color: #608edb !important;
    background: #fff !important;
    font-weight: 500;
    line-height: 1.25;
}

.page-link:hover:not(.active) {
    color: #0a58ca !important;
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
    transform: translateY(-1px);
}

.page-link:focus {
    color: #0a58ca !important;
    background-color: #e9ecef !important;
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.page-link.active {
    color: #fff !important;
    background-color: #608edb !important; 
    border-color: #608edb !important;
}

.page-item.disabled .page-link {
    color: #6c757d !important;
    pointer-events: none !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
    opacity: 0.65;
}

@media (max-width: 768px) {
    .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0.375rem 0.5rem !important;
        font-size: 0.8rem;
    }
}

.author { color: rgba(255,255,255,0.9); font-weight: 500; }

.breadcrumbs {
    margin-bottom: 2rem; font-size: 0.95rem; color: #666;
}
.breadcrumbs a { color: #608edb; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.post-actions {
    border-top: 1px solid #eee; padding-top: 2rem; margin-top: 3rem;
}

.back-to-blog {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, #608edb 0%, #c3d0e0 100%);
    color: white; padding: 1rem 2rem; border-radius: 50px; text-decoration: none;
    font-weight: 600; transition: all 0.3s; box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

.back-to-blog:hover {
    transform: translateY(-2px); box-shadow: 0 15px 40px rgba(102,126,234,0.5);
}

.footer {
    background: #33475f;
    color: white;
    text-align: center;
    padding: 4rem 2.5rem 2rem; 
    margin-top: 5rem;
    position: relative;
}

.footer p {
    margin-bottom: 2rem; 
    font-size: 0.95rem;
    opacity: 0.9;
    order: 3;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 2rem 1rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e8f0ff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-section a:hover {
    color: #608edb;
    transform: translateX(8px);
    text-shadow: 0 2px 10px rgba(96,142,219,0.5);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .blog-container { grid-template-columns: 1fr; padding: 0 1rem; }
    
    .single-post-container, .post-content { padding: 0 1.5rem; }
    .post-content { padding: 2rem 1.5rem !important; }
    .featured-image { height: 280px; }
    .single-hero { padding: 2rem 1.5rem !important; }
    .post-meta { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .post-content { padding: 1.5rem !important; }
}


.voice-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.voice-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


.voice-player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-wave {
  display: flex;
  align-items: end;
  gap: 0.2rem;
  height: 40px;
  padding: 0 1rem;
}

.wave-bar {
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #608edb, #c3d0e0);
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 36px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 32px; animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.3); opacity: 1; }
}


.play-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #608edb, #c3d0e0);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
}

.play-btn:focus {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.play-btn:focus-visible {
  outline: 2px solid #608edb;
  outline-offset: 2px;
}

.play-btn svg { width: 24px; height: 24px; }

.player-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85em;
  color: #64748b;
  min-width: 140px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #608edb, #c3d0e0);
  width: 0%;
  transition: width 0.1s ease;
}

.voice-desc {
  margin: 0;
  line-height: 1.5;
  color: #475569;
  font-size: 0.95em;
}
.play-icon, .pause-icon {fill: white;}
.playing .play-btn {
  background: linear-gradient(135deg, #acc3ea, #e8efff);
  box-shadow: 0 8px 24px rgba(187, 209, 245, 0.5);
}

.playing .wave-bar {
  background: linear-gradient(180deg, #acc3ea, #d4dfff);
}

.playing .progress-fill {
  background: linear-gradient(90deg, #acc3ea, #e8efff);
}

.voice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.voice-header strong {
  font-weight: 700;
  font-size: 1.1em;
  background: linear-gradient(135deg, #608edb, #c3d0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voice-lang {
  font-size: 0.8em;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid #cbd5e1;
}

@media (max-width: 480px) {
  .play-btn {
    width: 48px !important;
    height: 48px !important;
  }
  
  .play-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .player-controls {
    gap: 0.75rem;
  }
  
  .player-time {
    min-width: 110px !important;
    font-size: 0.8em;
  }
  
  .voice-desc {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .voice-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
  }
  
  .voice-header strong {
    font-size: 1.15em;
    margin: 0;
  }
  
  .voice-lang {
    font-size: 0.75em;
    align-self: flex-end;
  }
}

@media (max-width: 360px) {
  .player-controls {
    gap: 0.5rem;
  }
  
  .player-time {
    min-width: 100% !important;
  }
  
  .voice-header strong {
    font-size: 1.1em;
  }
}


.testimonials-section {
            padding: 60px 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            margin: 40px 0;
        }

        .testimonials-title {
            text-align: center;
            font-size: 2.5rem;
            color: #2d3748;
            margin-bottom: 50px;
            font-weight: 700;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .testimonial-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        .tts-card::before {
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .sts-card::before {
            background: linear-gradient(90deg, #f093fb, #f5576c);
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

        .testimonial-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            margin-bottom: 20px;
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
        }

        .sts-card .testimonial-avatar {
            background: linear-gradient(135deg, #f093fb, #f5576c);
            box-shadow: 0 10px 20px rgba(245, 87, 108, 0.3);
        }
        

        .testimonial-content {
    position: relative;  
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    font-style: italic;
    padding-top: 10px; 
    padding-left: 10px; 
    position: relative;
}

        .testimonial-content p::before {
    content: '"';
    font-size: 3.5rem;   
    color: #667eea;
    position: absolute;
    left: -18px;
    top: -18px;         
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 200;
    z-index: 1;
}

.testimonial-content p::after {
    content: '"';        
    font-size: 3.5rem;
    color: #667eea;
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 200;
}


        .testimonial-author {
            text-align: right;
        }

        .testimonial-author strong {
            color: #2d3748;
            font-size: 1.1rem;
            display: block;
        }

        .testimonial-author span {
            color: #718096;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 768px) {
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .testimonials-title {
                font-size: 2rem;
            }
        }

        .quick-start {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 50px 20px;
            border-radius: 20px;
            margin: 40px 0;
            text-align: center;
        }

        .quick-start ol {
            max-width: 600px;
            margin: 0 auto 30px;
            text-align: left;
        }

        .quick-start li {
            font-size: 1.2rem;
            margin-bottom: 15px;
            padding-left: 30px;
            position: relative;
        }

        .quick-start li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #90ee90;
            font-weight: bold;
            font-size: 1.5rem;
        }
