/* ================================================================
   doto Landing - Index Page Specific Styles (index.css)
   Hero 3D, Pricing, CTA enhancements
   ================================================================ */

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--doto-accent);
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.9rem;
    background: rgba(68, 110, 155, 0.08);
    border-radius: 9999px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--doto-text-light);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-trust i {
    color: var(--doto-success);
}

/* --- 3D Perspective Hero --- */
.perspective-container {
    perspective: 1500px;
    position: relative;
}

.card-3d-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.card-3d-wrapper .card-main {
    transform: rotateY(-12deg) rotateX(5deg) translateZ(40px);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.25);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.card-3d-wrapper .card-sub {
    transform: rotateY(-12deg) rotateX(5deg) translateZ(-40px) translateX(40px) translateY(40px);
    opacity: 0.85;
    box-shadow: -15px 15px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.perspective-container:hover .card-main {
    transform: rotateY(0deg) rotateX(0deg) translateZ(80px) scale(1.03);
    z-index: 20;
}

.perspective-container:hover .card-sub {
    transform: rotateY(0deg) rotateX(0deg) translateZ(0px) translateX(100px) translateY(60px) scale(0.95);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateY(-12deg) rotateX(5deg); }
    50% { transform: translateY(-15px) rotateY(-12deg) rotateX(5deg); }
}

.card-3d-wrapper img {
    width: 100%;
    display: block;
}

/* --- Pain Points --- */
.pain-card {
    text-align: center;
    padding: 2rem;
}

.pain-card .pain-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-card .pain-illustration {
    margin-bottom: 1.25rem;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: var(--doto-radius);
}

.pain-card .pain-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.pain-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.pain-card p {
    color: var(--doto-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Number Highlight --- */
.number-card {
    text-align: center;
    padding: 2rem;
}

.number-card .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--doto-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.number-card .number-unit {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--doto-accent);
}

.number-card .number-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--doto-primary);
    margin-bottom: 0.5rem;
}

.number-card .number-desc {
    font-size: 0.9rem;
    color: var(--doto-text-light);
    margin-bottom: 0;
}

/* --- AI Highlight Sections --- */
.ai-highlight {
    position: relative;
    overflow: hidden;
}

.ai-highlight .ai-mock {
    position: relative;
    z-index: 1;
}

.ai-summary-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #90caf9;
    border-radius: 0.75rem;
    padding: 1rem;
}

.ai-email-panel {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--doto-radius);
    overflow: hidden;
    transition: transform var(--doto-transition), box-shadow var(--doto-transition);
    background: white;
    box-shadow: var(--doto-shadow);
}

.ai-email-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--doto-shadow-lg);
}

/* --- Feature Grid --- */
.feature-grid-card {
    background: white;
    border: 1px solid var(--doto-border);
    border-radius: var(--doto-radius);
    padding: 1.75rem;
    transition: all var(--doto-transition);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--doto-shadow-lg);
    border-color: transparent;
    color: inherit;
}

.feature-grid-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-grid-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-grid-card p {
    color: var(--doto-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Before/After --- */
.compare-card {
    border-radius: var(--doto-radius);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--doto-border);
}

.compare-card .compare-illustration {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    overflow: hidden;
}

.compare-card .compare-illustration img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 30%;
}

.compare-card .compare-header {
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.compare-card .compare-body {
    padding: 1.5rem;
}

.compare-card .compare-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
}

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

.compare-card .compare-item i {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* --- Pricing --- */
.pricing-toggle {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 9999px;
    padding: 4px;
    gap: 4px;
}

.pricing-toggle .toggle-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--doto-transition);
    color: var(--doto-text-light);
}

.pricing-toggle .toggle-btn.active {
    background: white;
    color: var(--doto-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-card {
    background: white;
    border: 2px solid var(--doto-border);
    border-radius: var(--doto-radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--doto-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--doto-accent);
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(68, 110, 155, 0.15);
}

.pricing-card.featured .pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--doto-accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card .plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--doto-primary);
    line-height: 1;
}

.pricing-card .plan-price .unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--doto-text-light);
}

.pricing-card .plan-desc {
    font-size: 0.85rem;
    color: var(--doto-text-light);
    margin-bottom: 1.5rem;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pricing-card .plan-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card .plan-features li i {
    color: var(--doto-success);
    font-size: 0.8rem;
}

.price-annual { display: none; }

@media (max-width: 991.98px) {
    .pricing-card.featured {
        transform: none;
    }
}

/* --- FAQ --- */
.faq-accordion .accordion-item {
    border: 1px solid var(--doto-border);
    border-radius: var(--doto-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--doto-primary);
    background: white;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: var(--doto-accent);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: var(--doto-text-light);
    line-height: 1.8;
    padding: 0 1.5rem 1.25rem;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

}
