/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #ffffff;
    --foreground: #0a0a0a;
    --card: #ffffff;
    --card-foreground: #0a0a0a;
    --primary: #18181b;
    --primary-foreground: #fafafa;
    --secondary: #f4f4f5;
    --secondary-foreground: #18181b;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --accent: #f4f4f5;
    --accent-foreground: #18181b;
    --border: #e4e4e7;
    --radius: 0.5rem;
    --gradient-start: #ec4899;
    --gradient-mid: #8b5cf6;
    --gradient-end: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--foreground);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--accent);
}

/* App Cards Section */
.app-cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.featured-app {
    text-align: center;
    padding: 2rem;
    background: var(--secondary);
    border-radius: var(--radius);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
}

.app-cards-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* New App Cards Layout */
.featured-app-new {
    background: #e8f5e8;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #c3e6c3;
}

.featured-app-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.app-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
}

.featured-app-text {
    flex: 1;
}

.featured-app-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.featured-app-text p {
    font-size: 1rem;
    line-height: 1.5;
}

.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #22c55e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-green:hover {
    background: #16a34a;
}

.two-cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

.card-icon {
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-header-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header-horizontal .card-icon {
    margin-bottom: 0;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.info-card > p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.25rem 0;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.btn-green-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: white;
    border: 2px solid #22c55e;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    width: 100%;
}

.btn-green-outline:hover {
    background: #16a34a;
    border-color: #16a34a;
}

/* Notice Section */
.notice-alert {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 2rem;
}

.notice-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.notice-card {
    text-align: center;
    padding: 2rem 1rem;
}

.notice-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary);
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin: 1.5rem 0;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 3rem 0 2rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .nav-mobile-hidden {
        display: flex;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .app-cards-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    .app-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-app-content {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 8rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted-foreground);
}

.font-semibold {
    font-weight: 600;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}