/* --- Index Page Specific Styles for TasarMiPiso --- */

/* Form section - allow full width */
.form-section .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 80vh;
    background: radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    text-align: left;
}

.hero-title, .hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    white-space: normal;
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    margin-bottom: 40px;
    display: flex;
    gap: 16px;
    justify-content: center ;
}

/* Badge styles */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-text {
    color: #999;
    font-size: 14px;
}

/* Dashboard Styles */
.hero-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-container {
    padding: 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.dashboard-time {
    font-size: 14px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive {
    color: #10b981;
}

.dashboard-chart {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-title span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.chart-period {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Sections */
.modular-solutions, .global-scale, .how-it-works {
    padding: 80px 0;
}

.modular-solutions {
    background: white;
}

.global-scale {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.solution-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-icon {
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.solution-card p {
    color: #666;
    line-height: 1.6;
}

.scale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scale-text h2 {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.scale-text h1 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.scale-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.scale-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

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

.scale-stat h1, .scale-number {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1;
}

.scale-stat p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.how-it-works {
    background: white;
    text-align: center;
}

.how-it-works h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: #059669;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.step-item p {
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    padding: 60px 10px;
    background: white;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.2;
}

.form-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.app-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.app-container > * {
    max-width: 100%;
    overflow: hidden;
}

#app {
    height: 100%;
}

#app-extra {
    max-height: 870px;
    width: 100%;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: #f8f9fa;
}

.social-proof h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.testimonial-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.author-info strong {
    color: #333;
    font-weight: 600;
}

.author-info span {
    color: #999;
    font-size: 12px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-header p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
    border-color: #059669;
}

.faq-item-open {
    border-color: #059669;
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.15);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item-open .faq-question {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item-open .faq-icon {
    background: #059669;
    color: white;
}

.faq-answer {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.faq-content {
    padding: 0 28px 28px 28px;
    animation: slideInFade 0.4s ease-out;
}

.faq-content p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Index Page */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title, .hero h1 {
        font-size: 48px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .solutions-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-header p {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 16px;
    }
    
    .faq-content {
        padding: 0 24px 24px 24px;
    }
    
    .faq-content p {
        font-size: 15px;
    }
    
    .scale-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .scale-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-badges {
        justify-content: center;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #app {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 0 30px;
        gap: 60px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 1.25;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.35;
        word-break: break-word;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.4;
        word-break: break-word;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
    
    .faq-header h2 {
        font-size: 24px;
    }
    
    .faq-header p {
        font-size: 15px;
    }
    
    .faq-accordion {
        padding: 0 10px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        padding-right: 12px;
    }
    
    .faq-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-content p {
        font-size: 14px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 32px;
        line-height: 1.4;
        word-break: break-word;
        text-align: center;
    }
}
