/* ============================================
   SHARED STYLES - Used across all pages
   ============================================ */

:root {
    --primary-purple: #8B5CF6;
    --accent-cyan: #06B6D4;
    --bg-color: #ffffff;
    --text-color: #333;
    --border-radius: 8px;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu Mono', monospace;
}

/* ============================================
   MOBILE NAVIGATION (Demo Page)
   ============================================ */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-back:hover {
    color: var(--accent-cyan);
    transform: translateX(-3px);
}

.nav-contact {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    background-size: 200% 200%;
    background-position: left center;
}

.nav-contact:hover {
    background-position: right center;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   DEMO PAGE STYLES
   ============================================ */

.demo-container {
    text-align: center;
    padding: 100px 40px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.demo-preview {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 800px;
}

.demo-preview img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.demo-container h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.demo-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .demo-container {
        padding: 80px 20px 20px;
    }
    .demo-container h1 {
        font-size: 32px;
    }
    .demo-preview {
        padding: 20px;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    text-align: center;
    padding: 100px 40px 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Component - Reusable */
.profile-component {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.profile-component .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.profile-component .profile-info {
    text-align: left;
}

.profile-component .profile-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.profile-component .profile-title {
    font-size: 18px;
    color: #666;
    margin: 5px 0 0 0;
}

@media (max-width: 767px) {
    .profile-component {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-component .profile-info {
        text-align: center;
    }
    
    .profile-component .profile-name {
        font-size: 24px;
    }
    
    .profile-component .profile-title {
        font-size: 16px;
    }
}

.contact-container h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.contact-info a {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 20px;
    display: block;
    margin: 15px 0;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .contact-container {
        padding: 80px 20px 20px;
    }
    
    .contact-container h1 {
        font-size: 32px;
    }
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    background-size: 200% 200%;
    background-position: left center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover {
    background-position: right center;
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-3px) scale(1.02);
}

.btn:hover::before {
    left: 100%;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    text-align: center;
    padding: 100px 40px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.about-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 700px;
    line-height: 1.6;
}

.about-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: left;
    margin: 30px 0 50px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(6, 182, 212, 0.03));
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
}

.section-heading {
    font-size: 22px;
    color: var(--primary-purple);
    text-align: center;
    margin: 50px 0 30px;
    font-weight: 700;
}

.about-list {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
}

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

.about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 18px;
}

.about-list li:hover::before {
    color: var(--accent-cyan);
}

.credits-section {
    margin: 30px 0;
    text-align: left;
}

.credit-item {
    background: #f9fafb;
    border-left: 4px solid var(--primary-purple);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    border-left-color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.credit-item h4 {
    font-family: 'Ubuntu Mono', monospace;
    color: var(--primary-purple);
    font-size: 16px;
    margin: 0 0 10px 0;
}

.credit-item p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.5;
}

.credit-item .role {
    color: #666;
    font-style: italic;
    font-size: 14px;
}

.project-status {
    text-align: center;
    margin: 50px 0 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
}

.project-status h3 {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 20px;
    color: var(--text-color);
    margin: 0 0 15px 0;
}

.status-badge {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    }
}

@media (max-width: 767px) {
    .about-container {
        padding: 80px 20px 20px;
    }
    
    .about-container h1 {
        font-size: 24px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .about-intro {
        font-size: 15px;
        padding: 20px;
    }
    
    .section-heading {
        font-size: 20px;
    }
}

.countdown {
    font-size: 72px;
    font-weight: bold;
    margin: 30px 0;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.url {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 20px;
    word-break: break-all;
}

.url a {
    color: var(--primary-purple);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* ============================================
   HOME PAGE STYLES
   ============================================ */

.home-page {
    overflow: hidden;
}

#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper img {
    width: 300px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

@media (max-width: 767px) {
    .logo-wrapper img { width: 100px; }
}

.floating-logo {
    position: absolute;
    opacity: 0.03;
    filter: grayscale(1);
    pointer-events: none;
    will-change: transform;
}

.hidden-credit {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 10px;
    font-size: 10px;
}

.gianty-logo {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    opacity: 0.3;
    z-index: 100;
    pointer-events: none;
    animation: bounceWiggle 6s ease-in-out infinite;
}

@keyframes bounceWiggle {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    2% {
        transform: translateX(-50%) translateY(-15px) rotate(-3deg);
    }
    4% {
        transform: translateX(-50%) translateY(0) rotate(3deg);
    }
    6% {
        transform: translateX(-50%) translateY(-10px) rotate(-2deg);
    }
    8% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
}

@media (max-width: 767px) {
    .gianty-logo { width: 60px; }
}

.demo-link {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-size: 18px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-family: 'Ubuntu Mono', monospace;
    animation: heartbeat 1s ease-in-out infinite;
    transition: all 0.3s ease;
    font-weight: 700;
    opacity: 0.6;
}

.demo-link:hover {
    opacity: 1;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

@keyframes heartbeat {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.4;
    }
    14% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.6;
    }
    28% {
        transform: translateX(-50%) scale(1);
        opacity: 0.4;
    }
    42% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.6;
    }
    70% {
        transform: translateX(-50%) scale(1);
        opacity: 0.4;
    }
}

@media (max-width: 767px) {
    .demo-link { 
        font-size: 14px;
        bottom: 100px;
    }
}
