/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --background: hsl(232, 40%, 9%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(232, 35%, 12%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(243, 75%, 59%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(245, 25%, 20%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(232, 20%, 18%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --accent: hsl(267, 84%, 70%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 62.8%, 30.6%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(232, 20%, 18%);
    --radius: 0.75rem;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    background-image: url("/assets/img/bg.svg");
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid var(--border);
    background-color: rgba(24, 24, 37, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--muted);
    filter: grayscale(100%);
}

.status-offline {
    position: absolute;
    bottom: -0.25rem;
    right: -0.25rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--destructive);
    border-radius: 50%;
    border: 2px solid var(--background);
}

.app-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.status-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 4rem);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom right, rgba(14, 16, 32, 0.67), var(--background), rgba(42, 42, 89, 0.1));
    
    padding: 5rem 0 4rem;
}

.hero-content {
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

.hero-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-avatar-img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: 4px solid var(--muted);
    filter: grayscale(100%);
}

.hero-status-offline {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--destructive);
    border-radius: 50%;
    border: 4px solid var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offline-icon {
    width: 1rem;
    height: 1rem;
    color: var(--destructive-foreground);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Shutdown Notice */
.shutdown-notice {
    margin-bottom: 3rem;
    animation: slideUp 0.6s ease-out;
}

.notice-content {
    background-color: var(--card);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(167, 139, 250, 0.2);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.warning-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.notice-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: center;
}

.notice-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.7;
}

.notice-effective {
    background-color: rgba(113, 113, 122, 0.3);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    padding: 1rem;
}

.effective-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* Reasons Section */
.reasons-section {
    padding: 5rem 0;
}

.reasons-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.reasons-content {
    padding: 2rem;
    text-align: center;
}

.reasons-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reasons-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reasons-header {
    background-color: rgba(20, 23, 41, 0.55);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out forwards;
}

.reasons-header:hover {
    background-color: rgba(20, 23, 41, 0.9);
}

.reason-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
}

.card-content {
    padding: 2rem;
}

.reason-icon {
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reason-icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.reason-icon-primary {
    background-color: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.reason-icon-accent {
    background-color: rgba(167, 139, 250, 0.2);
    color: var(--accent);
}

.reason-icon-destructive {
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--destructive);
}

.reason-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reason-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Future Section */
.future-section {
    padding: 5rem 0;
}

.future-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 48rem;
    margin: 0 auto;
}

.future-content {
    padding: 2rem;
    text-align: center;
}

.future-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.future-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.future-important {
    background-color: rgba(113, 113, 122, 0.3);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    padding: 1rem;
}

.important-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Thank You Section */
.thankyou-section {
    padding: 5rem 0;
}

.thankyou-content {
    background: linear-gradient(to right, rgba(99, 102, 241, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.thankyou-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thankyou-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.thankyou-closing {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: rgba(24, 24, 37, 0.3);
    backdrop-filter: blur(10px);
}

.footer-content {
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--muted);
    filter: grayscale(100%);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.copyright-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-avatar-img {
        width: 6rem;
        height: 6rem;
    }
    
    .hero-status-offline {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-card {
        margin-bottom: 3rem;
    }
    
    .reasons-content {
        padding: 1.5rem;
    }
    
    .reasons-title {
        font-size: 1.75rem;
        line-height: 1.3;
        color: var(--foreground);
        font-weight: 700;
        text-align: center;
    }
    
    .reasons-description {
        font-size: 1.125rem;
        line-height: 1.6;
        color: var(--muted-foreground);
        text-align: center;
        margin-top: 1rem;
    }
    
    .notice-content,
    .future-content,
    .thankyou-content {
        padding: 1.5rem;
    }
    
    .thankyou-title {
        font-size: 1.75rem;
    }
    
    .thankyou-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .reasons-section,
    .future-section,
    .thankyou-section {
        padding: 3rem 0;
    }
    
    .reasons-card {
        margin-bottom: 2rem;
    }
    
    .reasons-content {
        padding: 1rem;
    }
    
    .reasons-title {
        font-size: 1.5rem;
        line-height: 1.4;
        color: var(--foreground);
        font-weight: 700;
    }
    
    .reasons-description {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--muted-foreground);
        margin-top: 0.75rem;
    }
    
    .notice-content,
    .future-content,
    .thankyou-content {
        padding: 1rem;
    }
}