/* Features, Spaces, and CTA Sections */
.features {
    background: var(--bg-secondary);
    padding: 80px 0;
}

/* Mobility Grid Styles */
.mobility-grid {
    display: grid;
    grid-template-columns: 250px 60px 250px;
    grid-template-rows: 180px 60px 180px;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    justify-items: center;
    align-items: center;
    gap: 0;
}

.mobility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.mobility-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.mobility-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.mobility-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.mobility-item:nth-child(4) {
    grid-column: 3;
    grid-row: 3;
}

.mobility-box {
    background: white;
    border: 2px solid #e5e5e7;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    .mobility-box {
        background: var(--bg-secondary);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
        border-color: #424245;
    }
}

[data-theme="dark"] .mobility-box {
    background: var(--bg-secondary);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
    border-color: #424245;
}

[data-theme="light"] .mobility-box {
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e7;
}

.mobility-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.15);
    border-color: var(--sociail-blue);
}

/* Arrows positioned between boxes */
.arrow-right {
    grid-column: 2;
    grid-row: 1;
    font-size: 28px;
    color: #6b9eff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.arrow-down {
    grid-column: 3;
    grid-row: 2;
    font-size: 28px;
    color: #6b9eff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.arrow-left {
    grid-column: 2;
    grid-row: 3;
    font-size: 28px;
    color: #6b9eff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.arrow-up {
    grid-column: 1;
    grid-row: 2;
    font-size: 28px;
    color: #6b9eff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .mobility-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 320px;
    }
    
    .mobility-item {
        position: relative;
    }
    
    .mobility-item:nth-child(1),
    .mobility-item:nth-child(2),
    .mobility-item:nth-child(3),
    .mobility-item:nth-child(4) {
        grid-column: unset;
        grid-row: unset;
    }
    
    /* Hide all desktop arrows on mobile */
    .arrow-right,
    .arrow-down,
    .arrow-left,
    .arrow-up {
        display: none !important;
    }
    
    /* Only show mobile arrows between items (not after last) */
    .mobility-item:nth-child(1)::after,
    .mobility-item:nth-child(2)::after,
    .mobility-item:nth-child(3)::after {
        content: "↓";
        display: block;
        text-align: center;
        font-size: 24px;
        color: #6b9eff;
        font-weight: bold;
        margin-top: 20px;
    }
    
    /* Ensure last item has no arrow */
    .mobility-item:nth-child(4)::after {
        display: none;
    }
    
    .mobility-box {
        max-width: 100%;
        height: auto;
    }
}

.features-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--sociail-blue);
}

.feature-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

/* Spaces Section */
.spaces {
    padding: 80px 0;
    background: white;
}

@media (prefers-color-scheme: dark) {
    .spaces {
        background: var(--bg-primary);
    }
}

[data-theme="dark"] .spaces {
    background: var(--bg-primary);
}

.spaces-demo {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.spaces-visual {
    position: relative;
    height: 400px;
}

.space-bubble {
    position: absolute;
    border-radius: 20px;
    padding: 20px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    text-align: center;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.space-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.space-bubble:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.space-work {
    top: 20px;
    left: 0;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--sociail-blue);
    color: var(--sociail-blue);
}

.space-personal {
    top: 120px;
    right: 0;
    background: rgba(249, 217, 73, 0.1);
    border: 2px solid var(--sociail-yellow);
    color: #d4a017;
}

.space-family {
    bottom: 80px;
    left: 60px;
    background: rgba(52, 199, 89, 0.1);
    border: 2px solid #34c759;
    color: #34c759;
}

.space-bubble:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.space-work:hover {
    border-color: var(--sociail-blue);
    background: rgba(0, 102, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.space-personal:hover {
    border-color: var(--sociail-yellow);
    background: rgba(249, 217, 73, 0.2);
    box-shadow: 0 20px 40px rgba(249, 217, 73, 0.3);
}

.space-family:hover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.15);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.3);
}

.space-bubble:active {
    transform: scale(1.02) translateY(-4px);
    transition: all 0.1s ease;
}

/* Floating animation for bubbles */
@keyframes float-space-work {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float-space-personal {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float-space-family {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

.space-work {
    animation: float-space-work 6s ease-in-out infinite;
    animation-delay: 0s;
}

.space-personal {
    animation: float-space-personal 6s ease-in-out infinite;
    animation-delay: 2s;
}

.space-family {
    animation: float-space-family 6s ease-in-out infinite;
    animation-delay: 4s;
}

.space-bubble svg {
    transition: transform 0.3s ease;
}

.space-bubble:hover svg {
    transform: scale(1.2) rotate(5deg);
}

.spaces-info h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.spaces-info p {
    font-size: 21px;
    line-height: 1.381;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.voice-commands {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
}

.command {
    padding: 8px 0;
    color: var(--sociail-blue);
}

/* Call to Action */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 102, 255, 0.02) 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 22px;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta p {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 400;
}

.email-form {
    display: flex;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.email-input {
    flex: 1;
    padding: 20px 24px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 18px;
    background: white;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    .email-input {
        background: var(--bg-secondary);
    }
}

[data-theme="dark"] .email-input {
    background: var(--bg-secondary);
}

[data-theme="light"] .email-input {
    background: white;
}

.email-input:focus {
    outline: none;
    border-color: var(--sociail-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 4px rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
}

.notify-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--sociail-blue) 0%, #0051d5 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    white-space: nowrap;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.notify-btn:hover {
    background: linear-gradient(135deg, #0051d5 0%, #003cb8 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.notify-btn:hover::before {
    left: 100%;
}

.notify-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Enhanced form layout with floating label effect */
.email-form-wrapper {
    position: relative;
    margin-top: 20px;
}

.email-form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sociail-blue), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-form:focus-within + .email-form-wrapper::after {
    opacity: 1;
}

/* Social Proof Section */
.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 102, 255, 0.03) 100%);
    border-top: 1px solid var(--border-color);
}

.social-proof-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    border-color: var(--sociail-blue);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--sociail-blue), var(--sociail-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px auto;
    min-height: 200px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-info strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    border-color: var(--sociail-blue);
    color: var(--sociail-blue);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--sociail-blue);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--sociail-blue);
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 22px;
}

.faq-section h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--sociail-blue);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--sociail-blue);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--sociail-blue);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}
