/* 3D Hero Section CSS */
:root {
    --text-black: #000000;
    --text-white: #ffffff;
    --border-black: #000000;
    --bg-gray-light: #f8f9fa;
    --bg-gray-medium: #e9ecef;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.7s ease;
}

/* Modern Navbar for 3D Design */
.modern-navbar {
    background: var(--text-white);
    box-shadow: var(--shadow-light);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-menu a:hover {
    color: #666666;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-black);
    color: var(--text-black);
}

.btn-outline:hover {
    background: var(--text-black);
    color: var(--text-white);
    transform: scale(1.05);
}

.btn-primary {
    background: var(--text-black);
    color: var(--text-white);
}

.btn-primary:hover {
    background: #333333;
    transform: scale(1.05);
}

/* Hero Section 3D */
.hero-section-3d {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

/* Left Content */
.hero-left-content {
    z-index: 3;
}

.hero-title-3d {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-black);
    letter-spacing: -0.02em;
}

.highlight-3d {
    color: var(--text-black);
    position: relative;
    display: inline-block;
}

.hero-description-3d {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

/* CTA Buttons */
.cta-buttons-container {
    margin-bottom: 50px;
}

.initial-buttons,
.action-buttons-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 640px) {
    .initial-buttons,
    .action-buttons-flex {
        flex-direction: row;
    }
}

.cta-btn-primary {
    position: relative;
    background: var(--text-white);
    color: var(--text-black);
    padding: 20px 40px;
    font-size: 1.25rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-btn-primary:hover {
    background: var(--text-white);
    transform: scale(1.05);
}

.cta-btn-secondary {
    position: relative;
    background: transparent;
    color: var(--text-black);
    padding: 20px 40px;
    font-size: 1.25rem;
    font-weight: 900;
    border: 2px solid var(--border-black);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-btn-secondary:hover {
    background: var(--text-black);
    color: var(--text-white);
    transform: scale(1.05);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btn-icon {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.btn-icon-left {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.cta-btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Animated Borders */
.animated-border {
    position: absolute;
    background: var(--text-black);
    transition: var(--transition-slow);
}

.border-top {
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
}

.border-right {
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    transition-delay: 0.2s;
}

.border-bottom {
    bottom: 0;
    right: 0;
    height: 4px;
    width: 0;
    transition-delay: 0.4s;
}

.border-left {
    bottom: 0;
    left: 0;
    width: 4px;
    height: 0;
    transition-delay: 0.6s;
}

.cta-btn-primary:hover .border-top {
    width: 100%;
}

.cta-btn-primary:hover .border-right {
    height: 100%;
}

.cta-btn-primary:hover .border-bottom {
    width: 100%;
}

.cta-btn-primary:hover .border-left {
    height: 100%;
}

/* Action Buttons */
.action-buttons {
    position: relative;
}

.action-buttons.hidden {
    display: none;
}

.swipe-hint {
    position: absolute;
    top: -32px;
    left: 0;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Stats */
.hero-stats-3d {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item-3d {
    text-align: left;
}

.stat-number-3d {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-black);
}

.stat-label-3d {
    font-size: 1rem;
    color: #666666;
    font-weight: 600;
    margin-top: 5px;
}

/* Right Content - 3D Cards */
.hero-right-content {
    position: relative;
    perspective: 1000px;
}

.card-stack-3d {
    position: relative;
    height: 500px;
}

/* Background Cards */
.bg-card {
    position: absolute;
    inset: 0;
}

.bg-card-1 {
    transform: rotate(6deg) translateX(16px) translateY(16px);
}

.bg-card-2 {
    transform: rotate(3deg) translateX(8px) translateY(8px);
}

.card-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px;
    height: 100%;
}

.bg-card-1 .card-bg {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Card */
.main-card-3d {
    position: relative;
    background: var(--text-white);
    box-shadow: var(--shadow-heavy);
    transition: transform 0.5s ease;
    height: 500px;
    z-index: 10;
}

.main-card-3d:hover {
    transform: rotate(1deg);
}

.card-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card Header */
.card-header-3d {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.task-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.task-icon {
    width: 48px;
    height: 48px;
    background: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.task-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--text-black);
}

.task-subtitle {
    color: #666666;
    font-weight: 700;
    font-size: 0.875rem;
}

.payment-info {
    text-align: right;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-black);
}

.payment-label {
    color: #666666;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Progress Section */
.progress-section {
    margin-bottom: 30px;
}

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

.progress-label {
    font-weight: 700;
    color: var(--text-black);
}

.progress-percentage {
    font-weight: 700;
    color: var(--text-black);
}

.progress-bar-container {
    background: #e5e7eb;
    height: 12px;
    position: relative;
}

.progress-bar-fill {
    background: var(--text-black);
    height: 100%;
    width: 0%;
    transition: width 1s ease;
}

/* Task List */
.task-list {
    margin-bottom: 20px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.task-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-black);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-checkbox:hover {
    background: #f3f4f6;
}

.task-checkbox.completed {
    background: var(--text-black);
}

.task-checkbox.completed::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--text-white);
}

.task-text {
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.task-text.completed {
    color: var(--text-black);
    text-decoration: line-through;
}

.task-text:not(.completed) {
    color: #666666;
}

/* Complete Button */
.complete-btn {
    width: 100%;
    padding: 16px;
    font-weight: 900;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-medium);
    border: none;
    cursor: pointer;
}

.complete-btn.active {
    background: var(--text-white);
    color: var(--text-black);
    border: 2px solid var(--text-black);
}

.complete-btn.active:hover {
    background: #f3f4f6;
}

.complete-btn:not(.active) {
    background: var(--text-black);
    color: var(--text-white);
}

.complete-btn:not(.active):hover {
    background: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container-3d {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-title-3d {
        font-size: 2.5rem;
    }
    
    .hero-stats-3d {
        justify-content: center;
        gap: 30px;
    }
    
    .card-stack-3d {
        height: 400px;
    }
    
    .main-card-3d {
        height: 400px;
    }
    
    .card-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title-3d {
        font-size: 2rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .hero-stats-3d {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-item-3d {
        text-align: center;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
} 