/* TapVoice Web Styles - Consistent Design System */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #e5e5e7;
    background: linear-gradient(135deg, #1a1a2e 0%, #000000 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Container and Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Typography */
h1 {
    color: #007AFF;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h2 {
    color: #007AFF;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007AFF;
    letter-spacing: -0.01em;
}

h3 {
    color: #34C759;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

h4 {
    color: #FF9500;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

p, li {
    margin-bottom: 12px;
    font-size: 1rem;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

/* Links */
a {
    color: #007AFF;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
    color: #0056CC;
}

/* Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #86868b;
}

.breadcrumb span {
    color: #ffffff;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
}

.logo h1 {
    margin-bottom: 10px;
}

.tagline {
    color: #a1a1a6;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: #a1a1a6;
    max-width: 600px;
    margin: 0 auto;
}

.header-subtitle {
    color: #a1a1a6;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Navigation Cards */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.nav-card {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    padding: 30px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.2);
    text-decoration: none;
}

.nav-card.primary {
    border: 1px solid #007AFF;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, #1d1d1f 100%);
}

.nav-card.primary:hover {
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.4);
}

.nav-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.nav-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.nav-card p {
    color: #a1a1a6;
    margin-bottom: 15px;
}

.nav-meta {
    font-size: 0.85rem;
    color: #86868b;
    font-style: italic;
}

/* Features Section */
.features {
    margin: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.feature p {
    color: #a1a1a6;
    font-size: 0.95rem;
}

/* Feedback Specific Styles */
.feedback-intro {
    margin-bottom: 50px;
}

.intro-card {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #333;
    text-align: center;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.intro-feature {
    text-align: center;
}

.intro-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.action-card {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    padding: 35px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
}

.action-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.action-card.primary {
    border: 1px solid #007AFF;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, #1d1d1f 100%);
}

.action-card.primary:hover {
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
}

.action-card.secondary {
    border: 1px solid #FF3B30;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, #1d1d1f 100%);
}

.action-card.secondary:hover {
    box-shadow: 0 8px 32px rgba(255, 59, 48, 0.3);
}

.action-card.tertiary {
    border: 1px solid #34C759;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, #1d1d1f 100%);
}

.action-card.tertiary:hover {
    box-shadow: 0 8px 32px rgba(52, 199, 89, 0.3);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.action-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.action-card p {
    color: #a1a1a6;
    margin-bottom: 20px;
    line-height: 1.6;
}

.action-examples {
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.action-cta {
    color: #007AFF;
    font-weight: 600;
    font-size: 1rem;
}

/* Existing Feedback Cards */
.existing-feedback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.existing-card {
    background: #1d1d1f;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.existing-card:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    text-decoration: none;
}

.existing-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.existing-card h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.existing-card p {
    color: #a1a1a6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.existing-cta {
    color: #007AFF;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Help Section */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.help-item {
    background: #1d1d1f;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
}

.help-item h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1rem;
}

.help-item p {
    color: #a1a1a6;
    font-size: 0.9rem;
}

/* Contact and Info Styles */
.contact-info {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid #007AFF;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.contact-info a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.contact-link {
    padding: 10px 20px;
    background: rgba(0, 122, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: rgba(0, 122, 255, 0.3);
    text-decoration: none;
}

/* FAQ and Troubleshooting */
.faq-item {
    background: rgba(52, 199, 89, 0.08);
    border-left: 4px solid #34C759;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.faq-question {
    font-weight: 600;
    color: #34C759;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.troubleshoot-item {
    background: rgba(255, 149, 0, 0.08);
    border-left: 4px solid #FF9500;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.troubleshoot-item h3 {
    color: #FF9500;
    margin-bottom: 15px;
}

.troubleshoot-item ul {
    margin-left: 20px;
}

/* Lists */
ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* Special Sections */
.app-info {
    background: rgba(142, 142, 147, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    border: 1px solid #333;
}

.disclaimer {
    background: rgba(255, 59, 48, 0.1);
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #FF3B30;
}

.disclaimer h3 {
    color: #FF3B30;
    margin-bottom: 15px;
}

.contact {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
}

.contact h2 {
    color: white;
    border-bottom: none;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact a {
    color: #ffffff;
    text-decoration: underline;
}

.privacy-note {
    background: rgba(142, 142, 147, 0.1);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid #333;
}

.privacy-note h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    margin: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
}

.video-container-single {
    max-width: 700px;
    margin: 0 auto 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.video-card {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.2);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000000;
}

.video-description {
    padding: 25px;
}

.video-description h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.video-description p {
    color: #a1a1a6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    text-align: center;
    margin: 80px 0;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    border-radius: 20px;
    border: 1px solid #333;
}

.cta h2 {
    margin-bottom: 20px;
    border-bottom: none;
}

.cta p {
    color: #a1a1a6;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
    text-decoration: none;
    color: white;
}

/* Footer */
.page-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #007AFF;
}

.footer-motto {
    text-align: center;
    color: #86868b;
    font-style: italic;
    margin-top: 20px;
}

footer {
    margin-top: 80px;
    padding: 50px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p {
    color: #86868b;
    font-size: 0.9rem;
}

.footer-section a {
    color: #86868b;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #007AFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #86868b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .existing-feedback {
        grid-template-columns: 1fr;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .nav-card, .action-card {
        padding: 20px;
    }

    .cta {
        padding: 40px 20px;
    }
}

/* Form Styles for Anonymous Feedback */
.feedback-forms {
    margin: 50px 0;
}

.form-section {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2a 100%);
    border-radius: 16px;
    margin: 40px 0;
    padding: 30px;
    border: 1px solid #333;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-header h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.form-header p {
    color: #a1a1a6;
    font-size: 1rem;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #000000;
    border: 1px solid #333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #86868b;
}

.form-group small {
    display: block;
    color: #86868b;
    font-size: 0.85rem;
    margin-top: 5px;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn.primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
}

.submit-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

.submit-btn.secondary {
    background: linear-gradient(135deg, #FF3B30 0%, #D12B20 100%);
    color: white;
}

.submit-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 59, 48, 0.4);
}

.submit-btn.tertiary {
    background: linear-gradient(135deg, #34C759 0%, #28A745 100%);
    color: white;
}

.submit-btn.tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(52, 199, 89, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* FAQ Grid for Feedback Page */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.faq-grid .faq-item {
    background: #1d1d1f;
    border-left: 4px solid #007AFF;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.faq-grid .faq-item h3 {
    color: #007AFF;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-grid .faq-item p {
    color: #a1a1a6;
    margin-bottom: 0;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .form-section {
        padding: 20px;
        margin: 30px 0;
    }

    .form-icon {
        font-size: 2.5rem;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}