/* Root variables */
:root {
    --gold-400: #d8aa56;
    --gold-500: #c69846;
    --gold-600: #b88a3b;
    --gold-700: #a37b33;
}

/* Base styles */
body {
    background: #f8f8f8;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 80px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
}

/* Background patterns */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: -10px -10px;
    z-index: -1;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.2;
}

/* Container and Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 40px;
    position: relative;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Updated App Logo styling */
.app-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.app-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2));
    z-index: 1;
    border-radius: 28px;
}

.app-icon {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 22px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Optional: Add subtle animation on page load */
@keyframes logoAppear {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.app-logo {
    animation: logoAppear 0.6s ease-out forwards;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.primary-button, .secondary-button {
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.primary-button {
    background: linear-gradient(135deg, #222, #000);
    color: var(--gold-500);
    border: 1px solid var(--gold-500);
}

.primary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background: #fff;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.secondary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-500);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Verification Section */
.verification-section {
    padding: 60px 0;
}

.section-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1000px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-500);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;
    margin: 0 auto 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .primary-button, .secondary-button {
        width: 100%;
        max-width: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .section-card {
        padding: 20px;
        margin: 0 15px;
    }

    .app-logo {
        width: 140px;
        height: 140px;
        border-radius: 24px;
    }

    .app-icon {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .app-logo {
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    .app-icon {
        border-radius: 16px;
    }
}

/* Enhanced Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #FEF2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #DC2626;
    font-size: 2.5rem;
    animation: modalIconAppear 0.5s ease-out forwards;
}

@keyframes modalIconAppear {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-description {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal .primary-button {
    margin: 0 auto;
    background: linear-gradient(135deg, #DC2626, #991B1B);
    border: none;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    transform: none;
}

.modal .primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.modal .primary-button i {
    font-size: 1.2rem;
}

/* Device-specific illustration */
.device-illustration {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
}

.device-icon {
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.device-icon.supported {
    background: #F0FDF4;
    color: #16A34A;
}

.device-icon.not-supported {
    background: #FEF2F2;
    color: #DC2626;
    opacity: 0.7;
}

.device-icon i {
    font-size: 2rem;
}

.device-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-description {
        font-size: 1rem;
    }
} 