* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --sky-blue: #00c4ff;
    --sky-pink: #ff005e;
    --sky-green: #00ffb3;
    --sky-blue-light: rgba(0, 196, 255, 0.1);
    --sky-pink-light: rgba(255, 0, 94, 0.1);
    --sky-green-light: rgba(0, 255, 179, 0.1);
    --light-bg: #ffffff;
    --card-bg: #f8f9fa;
    --card-hover: #f1f3f4;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #9aa0a6;
    --border-light: #dadce0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* REMOVE the body styles from main.css - they're in header-footer.css */
/* The body styles should only be in header-footer.css */

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 10px; /* Added top/bottom padding */
}

.hero-section {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 0 10px;
}

.hero-section h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 1200px;
    margin: 0 auto 10px;
}

.gradient-bar {
    height: 3px;
    width: 300px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    margin: 0 auto 10px;
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: var(--card-bg);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--card-hover);
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sky-blue-light);
    color: var(--sky-blue);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    background: var(--sky-pink-light);
    color: var(--sky-pink);
    transform: scale(1.05);
}

.tool-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
    color: var(--text-primary);
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

.feature-card {
    background: var(--light-bg);
    padding: 0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon-section {
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--sky-blue-light), var(--sky-green-light));
    position: relative;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--sky-blue);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon-section h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-text-section {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    color: var(--sky-pink);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.info-section {
    width: 100%;
    padding: 30px 0;
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.capability-item {
    background: var(--light-bg);
    padding: 18px 15px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid var(--sky-green);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.capability-item:hover {
    transform: translateX(5px);
    background: var(--card-hover);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--sky-blue);
}

.capability-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    color: var(--sky-green);
    width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-item:hover .capability-icon {
    color: var(--sky-blue);
    transform: scale(1.1);
}

.capability-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.capability-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--card-hover);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--sky-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--sky-pink);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    padding: 0 20px 18px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.cta-section {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    background: linear-gradient(135deg, var(--sky-blue-light) 0%, var(--sky-green-light) 100%);
    border-radius: 15px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.cta-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 25px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 196, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--sky-pink), var(--sky-green), var(--sky-blue));
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 196, 255, 0.4);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--sky-pink-light);
    color: var(--sky-pink);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .container {
        padding: 0 5px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
		margin-top: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin: 30px 0 20px;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .tool-card, .feature-card {
        padding: 15px 10px;
    }
    
    .tool-icon {
        font-size: 28px;
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .tool-card h3 {
        font-size: 1rem;
    }
    
    .tool-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section h1 {
        font-size: 1.7rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}


.modal {
  display: none; /* by default hidden */
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Floating YouTube CTA - Pulse Style */
.floating-cta-youtube {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    z-index: 9999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.floating-cta-youtube:hover {
    transform: scale(1.12);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}


/* Section & Heading */
.tts-demo-section {
  text-align: center;
  padding: 40px 20px; /* reduced vertical padding */
  background: #0a0a0a;
}

.demo-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.highlight-text {
  background: linear-gradient(90deg, #00c4ff, #ff005e, #00ffb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Video Container */
.demo-video-container {
  position: relative;
  max-width: 600px; /* smaller default width */
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
}

/* Video */
.demo-video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Play Button Overlay */
.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  border: 5px solid;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  animation: gradientPulse 2.5s infinite;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Gradient pulsing animation across 3 brand colors */
@keyframes gradientPulse {
  0% { border-color: #00c4ff; box-shadow: 0 0 15px #00c4ff; }
  33% { border-color: #ff005e; box-shadow: 0 0 15px #ff005e; }
  66% { border-color: #00ffb3; box-shadow: 0 0 15px #00ffb3; }
  100% { border-color: #00c4ff; box-shadow: 0 0 15px #00c4ff; }
}

.play-button-overlay:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

/* Close Button */
.close-button-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.8rem;
  color: #ff005e;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11;
  transition: all 0.3s ease;
}

.close-button-overlay:hover {
  background: rgba(255,0,94,0.8);
}

/* Mic Overlay - CSS only */
.mic-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 60px;
  background: linear-gradient(180deg, #00c4ff, #ff005e, #00ffb3);
  border-radius: 20px 20px 10px 10px;
  box-shadow: 0 0 8px rgba(0,196,255,0.7);
  pointer-events: none;
}

/* Expanded Video */
.demo-video-container.active {
  max-width: 900px; /* expand on play */
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transition: all 0.5s ease;
}


/* About Section Styles */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0 50px;
    align-items: start;
}

.about-content, .getting-started {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.about-content::before, .getting-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
}

.about-content h3, .getting-started h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.about-content h3::after, .getting-started h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--sky-blue);
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.getting-started ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.getting-started li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.getting-started p {
    background: var(--sky-blue-light);
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--sky-blue);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content, .getting-started {
        padding: 20px 15px;
    }
}