* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    margin: 0 auto;
}

.status-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: slideUp 0.4s ease-out;
    margin: 0 15px;
}

.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
}

.status-icon.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.status-icon.pending {
    background: rgba(253, 203, 110, 0.1);
    color: #fdcb6e;
    animation: pulse 2s infinite;
}

h1 {
    color: #2d3436;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.next-steps {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 500;
}

.primary-button {
    background: #5469d4;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.primary-button:hover {
    background: #4054b2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(84, 105, 212, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Breakpoints */
@media screen and (max-width: 480px) {
    .status-card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    .status-icon {
        width: 60px;
        height: 60px;
    }

    .status-icon svg {
        width: 35px;
        height: 35px;
    }

    .primary-button {
        width: 100%;
        padding: 15px;
    }

    .next-steps {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 320px) {
    .status-card {
        padding: 1rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
    }
}

/* Add viewport height adjustment for mobile browsers */
@media screen and (max-height: 600px) {
    body {
        min-height: auto;
        padding: 40px 0;
    }
}

/* Fix for notched phones */
@supports(padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Landing Page Styles */
.landing {
    background: #ffffff;
    min-height: 100vh;
    display: block;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #2d3436;
}

.hero {
    padding: 160px 20px 100px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #5469d4, #4054b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features {
    padding: 100px 20px;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.how-it-works {
    padding: 100px 20px;
    background: #f8f9fa;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5469d4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.secondary-button {
    background: white;
    color: #5469d4;
    border: 2px solid #5469d4;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: #5469d4;
    color: white;
}

footer {
    background: #2d3436;
    color: white;
    padding: 60px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .secondary-button {
        margin-left: 0;
    }
}
