* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #ff6b9d;
    --accent: #ffc107;
    --bg: #0f0f1e;
    --bg-light: #1a1a2e;
    --bg-card: #16213e;
    --text: #e8e8e8;
    --text-muted: #a0a0b0;
    --border: #2a2a3e;
    --shadow: rgba(0, 212, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #ff6b9d 100%);
    --gradient-2: linear-gradient(135deg, #ff6b9d 0%, #ffc107 100%);
}

[data-theme="light"] {
    --bg: #f5f7fa;
    --bg-light: #ffffff;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(245, 247, 250, 0.9);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

.theme-switch {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switch:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.theme-emoji {
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    width: fit-content;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.line-1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
}

.line-2 {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.line-3 {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px var(--shadow);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-right {
    position: relative;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: rotate 20s linear infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border-color: var(--primary);
    opacity: 0.3;
}

.circle-2 {
    width: 300px;
    height: 300px;
    border-color: var(--secondary);
    opacity: 0.3;
    animation-duration: 15s;
    animation-direction: reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    border-color: var(--accent);
    opacity: 0.3;
    animation-duration: 10s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-line {
    display: block;
}

.code-keyword {
    color: var(--primary);
}

.code-var {
    color: var(--secondary);
}

.code-property {
    color: var(--accent);
}

.code-string {
    color: #4ade80;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient-1);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* Sections */
.section-top {
    text-align: center;
    margin-bottom: 4rem;
}

.section-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Info Section */
.info-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.info-box:hover::before {
    transform: scaleX(1);
}

.info-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.box-icon {
    font-size: 2rem;
}

.box-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-content {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

/* Hobbies Section */
.hobbies-section {
    padding: 6rem 0;
}

.hobbies-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hobby-box {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.hobby-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.hobby-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hobby-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.hobby-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.dream-box {
    background: var(--gradient-1);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
}

.dream-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dream-icon {
    font-size: 3rem;
}

.dream-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.dream-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dream-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
}

.dream-paragraph strong {
    color: white;
    font-weight: 700;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.card-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.card-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.card-text strong {
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .line-2, .line-3 {
        font-size: 3.5rem;
    }
    
    .section-heading {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .line-2, .line-3 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .dream-box {
        padding: 2.5rem;
    }
    
    .dream-title {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-list {
        display: none;
    }
    
    .line-2, .line-3 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}
