/* 53Rise - Modern Tech Aesthetic */

:root {
    --color-bg: #0a1220;
    --color-bg-elevated: #0f1a2e;
    --color-bg-card: #152238;
    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-subtle: #64748b;
    --color-border: #1e3a5f;
    --color-accent: #3b82f6;
    --color-accent-secondary: #60a5fa;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 50%, #ffffff 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 18, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base);
}

.header:hover {
    border-bottom-color: var(--color-border);
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: 1;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.about-item {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.about-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.about-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.about-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

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

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-item a {
    color: var(--color-accent);
    font-size: 1.125rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item address {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-company {
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-uen {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
    font-family: var(--font-mono);
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-nav a:hover {
    color: var(--color-text);
}

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

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--color-text-subtle);
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
    max-width: 720px;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.legal-section p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section li {
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

.legal-section address {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 16px 0;
    padding-left: 16px;
    border-left: 2px solid var(--color-border);
}

.legal-section a {
    color: var(--color-accent);
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .about,
    .contact {
        padding: 80px 0;
    }

    .about-grid,
    .contact-grid {
        gap: 24px;
    }

    .about-item {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-nav {
        gap: 24px;
    }

    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

/* Subtle animation for hero */
@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -48%) scale(1.02);
    }
}

.hero-gradient {
    animation: float 8s ease-in-out infinite;
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.4);
    color: var(--color-text);
}
