/* Google Fonts - Mulish */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pi-purple: #7B4397;
    --pi-purple-dark: #5A2D70;
    --pi-gold: #FFB800;
    --light-purple: #F3E5F5;
    --mint-green: #C8F5E8;
    --text-dark: #2c2c2c;
    --text-gray: #666;
    --border-color: #e0e0e0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, #F8F4FC 0%, #FFFFFF 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* First Section - Intro with Info Card */
.intro-section {
    padding: 3rem 1.5rem 2rem;
    animation: fadeIn 0.8s ease-out;
}

.pi-logo-container {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.pi-logo-hero {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: 'Mulish', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    font-family: 'Mulish', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Container */
.container-2fa {
    max-width: 480px;
    margin: 0 auto;
}

/* Info Card in First Section */
.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.shield-icon {
    font-size: 2rem;
}

.info-header h2 {
    font-family: 'Mulish', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.info-content p {
    font-family: 'Mulish', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* How It Works Section (Second Section) */
.how-it-works {
    padding: 2rem 1.5rem 3rem;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.sparkle-icon {
    font-size: 1.5rem;
}

.section-header h2 {
    font-family: 'Mulish', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Steps Container */
.steps-container {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.step-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--light-purple);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 67, 151, 0.15);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-family: 'Mulish', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Buttons */
.btn-activate {
    display: block;
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--pi-purple), var(--pi-purple-dark));
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(123, 67, 151, 0.3);
}

.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 67, 151, 0.4);
    background: linear-gradient(135deg, var(--pi-purple-dark), #4A1D5E);
}

.btn-activate:active {
    transform: scale(0.98);
}

.btn-secure-connection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    max-width: 280px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--mint-green);
    color: #0A7F5E;
    text-align: center;
    border-radius: 25px;
    font-family: 'Mulish', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid #A8E6CF;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secure-connection:hover {
    background: #B3EFD9;
    transform: translateY(-1px);
    border-color: #8FDDB5;
}

.btn-secure-connection::before {
    content: "🔒";
    font-size: 1.1rem;
}

/* Footer Text */
.footer-text {
    text-align: center;
    font-family: 'Mulish', sans-serif;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-section {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .pi-logo-hero {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-header h2 {
        font-size: 1.25rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .how-it-works {
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .section-header {
        padding: 1rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .steps-container {
        padding: 1.25rem;
    }

    .step-card {
        padding: 1rem;
    }

    .step-card h3 {
        font-size: 1.05rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    .info-section {
        padding: 1.5rem 1.25rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-header h2 {
        font-size: 1.25rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 2rem 1rem 1.25rem;
    }

    .pi-logo-hero {
        width: 90px;
        height: 90px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .shield-icon {
        font-size: 1.75rem;
    }

    .info-header h2 {
        font-size: 1.15rem;
    }

    .info-content p {
        font-size: 0.88rem;
    }

    .how-it-works {
        padding: 1.25rem 1rem 2rem;
    }

    .section-header {
        padding: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .sparkle-icon {
        font-size: 1.3rem;
    }

    .steps-container {
        padding: 1rem;
    }

    .step-card {
        padding: 0.9rem;
    }

    .step-icon {
        font-size: 1.75rem;
    }

    .step-card h3 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.88rem;
    }

    .btn-activate {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .btn-secure-connection {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 260px;
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.45rem;
    }

    .pi-logo-hero {
        width: 80px;
        height: 80px;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .step-card h3 {
        font-size: 0.95rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-activate,
    .btn-secure-connection {
        min-height: 48px;
    }
}
