/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #333;
    padding-top: 60px; /* Add padding to account for fixed navbar */
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #000;
    line-height: 1.2;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

/* Add global button styles */
.btn {
    padding: 0 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    height: 36px;
    white-space: nowrap;
    text-decoration: none;
}

/* Update larger button style */
.btn-large {
    padding: 0 2.5rem;
    font-size: 1.2rem;
    min-width: 200px;
    height: 56px;
    gap: 1rem;
}

/* Update arrow size for large buttons */
.btn-large .btn-arrow {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: #000;
    color: white;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #000;
    color: #000;
}

.btn-arrow {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: -1.5rem;
    opacity: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:hover .btn-arrow {
    margin-left: 0;
    opacity: 1;
}

/* Feature card styles */
.feature-card {
    display: flex;
    align-items: stretch;
    gap: 4rem;
    padding: 3rem;
    border-radius: 24px;
    background: #f5f5f5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2rem 0;
    height: 400px;
    overflow: hidden;
    position: relative; /* Added for absolute positioning of media */
}

.feature-content {
    flex: 1;
    opacity: 0.7;
    transition: all 0.5s ease;
    padding-right: calc(50% + 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateZ(0);
}

.feature-content p {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-media {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state */
.feature-card.active {
    height: 500px;
    padding: 4rem;
}

.feature-card.active .feature-content {
    opacity: 1;
}

.feature-card.active .feature-content p {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.active .feature-video {
    transform: scale(1);
}

/* Add this script to handle video playback */

.step-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
    display: block;
}

.short-desc {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.long-desc {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    /* Wait for short desc to fade out first */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

/* Active state transitions */
.feature-card.active .short-desc {
    opacity: 0;
    transform: translateY(-10px);
    /* Fade out first */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.active .long-desc {
    opacity: 1;
    transform: translateY(0);
    /* Start appearing after short desc is gone */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
} 