/* Additional styles for home_temp.html */

/* Disabled link styles */
.disabled-link {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.disabled-link:hover {
    opacity: 1;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}


.modal.show {
    display: flex;
    opacity: 1;
}

.modal.show .modal-content {
    transform: scale(1);
}

/* About section */
.about {
    position: relative;
    z-index: 5;
}

/* Testimonial section */
.testimonial {
    position: relative;
    z-index: 8;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.vision-section {
    margin-bottom: 2rem;
}

.vision-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.vision-section p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.features-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.feature-item i {
    color: #3b82f6;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

.contact-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.contact-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.contact-btn.email {
    background: #1a1a1a;
    color: white;
}

.contact-btn.email:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-btn.linkedin {
    background: #0077b5;
    color: white;
}

.contact-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.contact-btn i {
    font-size: 1.1rem;
}

.modal-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.modal-close-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .contact-buttons {
        gap: 0.75rem;
    }
    
    .contact-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .vision-section h3,
    .contact-section h3 {
        font-size: 1.125rem;
    }
    
    .feature-item {
        padding: 0.625rem;
    }
    
    .feature-item span {
        font-size: 0.8rem;
    }
    
    .contact-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .modal-close-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation for modal content */
.modal.show .modal-content {
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hover effects for feature items */
.feature-item:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Smooth transitions */
.modal * {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.contact-btn:focus,
.modal-close-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state for buttons */
.contact-btn.loading,
.modal-close-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success state for newsletter form */
.newsletter-form.success .newsletter-btn {
    background: #10b981;
    pointer-events: none;
}

.newsletter-form.success .newsletter-btn::after {
    content: " ✓";
    font-weight: bold;
}



/* Navbar layout improvements */
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


@media (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
        margin: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        margin: 0 1rem;
    }
    
    /* Hide Sign in/up buttons on mobile */
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-actions {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-toggle {
        display: inline-block;
    }
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        margin-left: auto;
    }
    
    .lang-switcher {
        margin-left: 0.5rem;
    }
}

/* Mobile compatibility improvements */
body {
    overflow-x: hidden;
}

/* Ensure hero stacks nicely on mobile */
@media (max-width: 768px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        padding: 3rem 1rem 2rem; /* Réduit le padding */
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 0.5rem; /* Padding interne pour éviter le débordement */
        box-sizing: border-box;
    }
    
    .hero-visual {
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .hero-actions {
        gap: 1rem;
        margin-top: 1.5rem; /* Réduit l'espacement */
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem; /* Padding réduit */
    }
    
    .platform-mockup {
        width: 100%;
        max-width: 100%;
    }
    
    .mockup-content svg,
    .hero-visual img,
    .hero-visual svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Réduire l'espacement avec la section suivante */
    .hero {
        margin-bottom: 0rem;
    }
}

/* Mobile menu */
.mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 1rem;
    z-index: 1000;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-link {
    color: #111827;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mobile-btn {
    width: 100%;
    text-align: center;
}



@media (max-width: 480px) {
    .navbar .nav-container {
        padding: 0 0.75rem;
    }
    
    .btn-primary.btn-large,
    .btn-secondary.btn-large {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Hero encore plus compact sur très petits écrans */
    .hero-container {
        padding: 2rem 0.75rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 0.25rem;
    }
    
    .hero-visual {
        padding: 0 0.25rem;
    }
    
    .hero-actions {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .hero {
        margin-bottom: 0rem;
    }
    
    /* Mobile: repositionner les mockups au-dessus de la section About */
    .about-grid {
        display: flex;
        flex-direction: column;
    }
    
    .about-visual {
        order: -1; /* Met les mockups en premier */
        margin-bottom: 3rem;
        width: 100%;
        justify-content: center;
    }
    
    .about-content {
        order: 1; /* Met le texte en second */
    }
    
    /* Mobile mockup layout - Portfolio et Chat côte à côte */
    .mobile-mockup {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    /* Learning phone - En haut, centré */
    .mobile-mockup .card-left {
        order: 1;
        width: 160px;
        height: 280px;
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    
    /* Portfolio et Chat - Côte à côte */
    .mobile-mockup .card-center {
        order: 2;
        width: 140px;
        height: 240px;
        flex: 1;
        max-width: 140px;
    }
    
    .mobile-mockup .card-right {
        order: 3;
        width: 140px;
        height: 240px;
        flex: 1;
        max-width: 140px;
    }
    
    /* Testimonial mobile */
    .testimonial {
        padding: 2rem 0;
    }
}

/* Desktop layout: mockups à côté du texte */
@media (min-width: 769px) {
    .about-grid {
        display: flex;
        flex-direction: row; /* Desktop: texte et mockups côte à côte */
        align-items: flex-end; /* Aligner en bas pour descendre les mockups */
        gap: 3rem;
    }
    
    .about-visual {
        order: unset; /* Reset l'order mobile */
        margin-bottom: 0; /* Reset le margin mobile */
        width: auto; /* Reset la largeur mobile */
        display: flex;
        justify-content: flex-end; /* Aligner à droite */
        align-items: flex-end; /* Aligner en bas */
        padding-bottom: 10rem; /* Descendre encore plus */
        padding-left: 3.5rem; /* Décaler vers la droite */
    }
    
    .about-content {
        order: unset; /* Reset l'order mobile */
    }
    
    .mobile-mockup {
        display: flex;
        flex-direction: row;
        gap: 1rem; /* Réduire encore l'espacement */
        align-items: flex-end; /* Aligner en bas */
        transform: scale(0.75); /* Réduire de 25% (au lieu de 10%) */
    }
    
    .mobile-mockup .card-left,
    .mobile-mockup .card-center,
    .mobile-mockup .card-right {
        order: unset;
        width: 200px;
        height: 350px;
    }
}

/* SiraEdge Hero Section */
.siraedge-hero {
    position: relative;
    overflow: hidden;
    background: white;
    padding: 6rem 1.5rem 5rem;
    isolation: isolate;
}

.siraedge-container {
    max-width: 80rem; /* max-w-5xl */
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.siraedge-content {
    position: relative;
    z-index: 2;
}

.siraedge-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75;
    color: #3b82f6; /* text-blue-500 */
    margin: 0;
    position: relative;
    display: inline-block;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 16px rgba(59, 130, 246, 0.4), 0 0 24px rgba(59, 130, 246, 0.2);
        transform: scale(1.01);
    }
}

/* Hover effects for subtitle */
.siraedge-subtitle:hover {
    animation-play-state: paused;
    transform: scale(1.02);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.siraedge-title {
    margin-top: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #111827; /* text-gray-900 */
    line-height: 1.1;
    margin-bottom: 0;
}

.siraedge-title-line {
    display: block;
    margin-left: 1rem;
}

.siraedge-description {
    margin: 1.5rem auto 0;
    max-width: 48rem; /* max-w-3xl */
    font-size: 1.125rem;
    line-height: 1.78;
    color: #6b7280; /* text-gray-600 */
}

.siraedge-card {
    position: relative;
    margin: 3rem auto 0;
    width: 100%;
    max-width: 64rem; /* max-w-4xl */
    border-radius: 1rem;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    background: white;
    padding: 0.75rem 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    overflow: visible;
}

.siraedge-card-inner {
    border-radius: 0.75rem;
    background: #f9fafb; /* bg-gray-50 */
    padding: 0.25rem;
}

.siraedge-image {
    height: auto;
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.siraedge-side-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.siraedge-side-image.left {
    left: -60px;
}

.siraedge-side-image.right {
    right: -60px;
}

.side-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 0.5rem;
}

.siraedge-side-image:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

/* Floating Glyphs */
.glyph {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.glyph-inner {
    border-radius: 1rem;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: grid;
    place-items: center;
    height: 5rem;
    width: 5rem;
    border-radius: 0.75rem;
    color: #1f2937; /* text-gray-800 */
}

.glyph i {
    font-size: 2rem;
}

.glyph-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Glyph positions */
.glyph-1 {
    left: 10%;
    top: 1%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.glyph-2 {
    left: 90%;
    top: 6%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.25s;
}

.glyph-3 {
    left: 98%;
    top: 40%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.35s;
}

.glyph-4 {
    left: 88%;
    top: 68%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.glyph-5 {
    left: 98%;
    top: 40%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.2s;
}

.glyph-6 {
    left: 20%;
    top: 38%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.glyph-7 {
    left: 1%;
    top: 30%;
    animation: float 5.2s ease-in-out infinite;
    animation-delay: 0.45s;
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) rotate(-3deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px) rotate(2deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .siraedge-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .siraedge-subtitle {
        font-size: 1rem;
    }
    
    .siraedge-title {
        font-size: 2.5rem;
    }
    
    .siraedge-title-line {
        margin-left: 0.5rem;
    }
    
    .siraedge-description {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .siraedge-card {
        margin-top: 2rem;
        padding: 0.75rem;
        overflow: hidden;
    }
    
    .siraedge-side-image {
        display: none;
    }
    
    /* Hide some glyphs on mobile for cleaner look */
    .glyph-5,
    .glyph-6,
    .glyph-7 {
        display: none;
    }
    
    /* Adjust remaining glyph positions */
    .glyph-1 {
        left: 8%;
        top: 15%;
    }
    
    .glyph-2 {
        left: 92%;
        top: 20%;
    }
    
    .glyph-3 {
        left: 10%;
        top: 75%;
    }
    
    .glyph-4 {
        left: 90%;
        top: 72%;
    }
}

@media (max-width: 480px) {
    .siraedge-hero {
        padding: 3rem 0.75rem 2rem;
    }
    
    .siraedge-title {
        font-size: 2rem;
    }
    
    .siraedge-title-line {
        margin-left: 0;
        display: block;
    }
    
    .siraedge-description {
        font-size: 0.9rem;
    }
    
    .glyph {
        display: none; /* Hide all glyphs on very small screens */
    }
}

/* How it Works Section - New Design */
.how-it-works {
    background: white;
    padding: 3rem 1.5rem;
}

.how-it-works-container {
    max-width: 75rem; /* max-w-6xl */
    margin: 0 auto;
}

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

.how-it-works-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.78;
    color: #2563eb; /* text-blue-600 */
    margin: 0;
}

.how-it-works-title {
    margin-top: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827; /* text-gray-900 */
    line-height: 1.1;
    margin-bottom: 0;
}

.how-it-works-description {
    margin: 1.5rem auto 0;
    max-width: 32rem; /* max-w-2xl */
    font-size: 1.125rem;
    line-height: 1.78;
    color: #6b7280; /* text-gray-600 */
}

.how-it-works-cards {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.how-it-works-card {
    display: flex;
    width: 100%;
    max-width: 20rem; /* max-w-xs */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-image-container {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    width: 100%;
}

.card-image {
    height: 14rem; /* Increased from 10rem to 14rem */
    width: 100%;
    object-fit: cover;
}

/* SVG specific styling */
.card-image-container svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for each card */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate:nth-child(4) {
    transition-delay: 0.4s;
}

/* Pricing cards animation */
.pricing-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered delays for pricing cards */
.pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    transition-delay: 0.3s;
}

.pricing-card:nth-child(3) {
    transition-delay: 0.5s;
}

/* Special animation for featured card */
.pricing-card.featured {
    transform: translateY(40px) scale(0.95) rotateY(5deg);
}

.pricing-card.featured.animate {
    transform: translateY(0) scale(1) rotateY(0deg);
}

.card-title {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827; /* text-gray-900 */
    margin-bottom: 0;
}

.card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280; /* text-gray-600 */
    line-height: 1.5;
}

/* Desktop layout */
@media (min-width: 1024px) {
    .how-it-works-cards {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .how-it-works-card {
        max-width: 15.625rem; /* lg:max-w-[250px] */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 1rem;
    }
    
    .how-it-works-title {
        font-size: 2rem;
    }
    
    .how-it-works-description {
        font-size: 1rem;
    }
    
    .how-it-works-cards {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 3rem 0.75rem;
    }
    
    .how-it-works-title {
        font-size: 1.75rem;
    }
    
    .card-image {
        height: 8rem;
    }
}

/* Modern Features Section */
.features-modern {
    background: white;
    padding: 6rem 0;
    position: relative;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.feature-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-icon-modern {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
}

.feature-icon-modern svg {
    width: 28px;
    height: 28px;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.feature-card-modern h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.feature-card-modern p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scroll animations for feature cards */
.feature-card-modern.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card-modern.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-modern:nth-child(1) { transition-delay: 0.1s; }
.feature-card-modern:nth-child(2) { transition-delay: 0.2s; }
.feature-card-modern:nth-child(3) { transition-delay: 0.3s; }
.feature-card-modern:nth-child(4) { transition-delay: 0.4s; }
.feature-card-modern:nth-child(5) { transition-delay: 0.5s; }
.feature-card-modern:nth-child(6) { transition-delay: 0.6s; }

/* Responsive design */
@media (max-width: 768px) {
    .features-modern {
        padding: 4rem 0;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .feature-card-modern {
        padding: 1.5rem;
    }
    
    .feature-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .feature-icon-modern svg {
        width: 24px;
        height: 24px;
    }
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 6rem 0;
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

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

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #6b7280;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }
    
    .faq-container {
        padding: 0 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Prevent horizontal scroll */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
}


