/* ===== CSS RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --primary-color: #5856D6;
    --primary-light: #7B7AE5;
    --primary-dark: #4A49B8;
    --accent-color: #92FE9D;
    --accent-light: #A8FFB0;
    --accent-dark: #7CE88A;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #666;
    --text-muted: #999;
    --text-inverse: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: rgba(255, 255, 255, 0.1);
    
    /* Border Colors */
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --border-dark: #dee2e6;
    
    /* Shadow Colors */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-4xl) 0;
}

.section__title {
    text-align: center;
    margin-bottom: var(--space-sm);
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3xl);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    border-color: var(--primary-color);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--app-store {
    padding: var(--space-xs);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal);
}

.btn--app-store:hover {
    transform: translateY(-2px);
}

.btn--app-store img {
    height: 40px;
    width: auto;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.nav__brand {
    flex-shrink: 0;
}

.nav__logo {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
    background-color: rgba(88, 86, 214, 0.1);
}

.nav__link--active {
    color: var(--primary-color);
    background-color: rgba(88, 86, 214, 0.1);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.nav__toggle:hover {
    background-color: var(--bg-secondary);
}

.hamburger {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-tight);
}

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

.hero__subtitle {
    font-size: var(--font-size-2xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-medium);
}

.hero__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.project-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card__hero {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-card__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
}

.project-card__gradient--exiframe {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card__gradient--littlelog {
    background: linear-gradient(45deg, #FFE066, #FFB347, #FF8C42, #FF6B35);
}

.project-card__icon {
    width: 120px;
    height: 120px;
    border-radius: 37.5%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-normal);
    object-fit: cover;
}

.project-card__icon:hover {
    transform: scale(1.05);
}


.project-card__content {
    padding: var(--space-3xl);
}

.project-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.project-card__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}


.project-card__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0;
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card__description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.project-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.feature-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.project-card__actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

.about-preview__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-preview__text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
    line-height: var(--line-height-relaxed);
}

/* ===== ABOUT HERO ===== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.about-hero__image {
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.about-hero__content {
    text-align: left;
}

.about-hero__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.about-hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-medium);
}

.about-hero__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ===== ABOUT GRID ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
    margin-bottom: var(--space-4xl);
}

/* ===== TIMELINE ===== */
.timeline {
    margin-top: var(--space-2xl);
}

.timeline__item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.timeline__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline__year {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    min-width: 80px;
    font-size: var(--font-size-lg);
}

.timeline__content {
    flex: 1;
}

.timeline__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.timeline__description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ===== SKILLS GRID ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.skill-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.skill-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.skill-content {
    flex: 1;
}

.skill-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.skill-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    margin-bottom: var(--space-4xl);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.philosophy-item {
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.philosophy-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.philosophy-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.philosophy-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ===== CONNECT SECTION ===== */
.connect-section {
    margin-bottom: var(--space-4xl);
}

.connect-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-3xl);
    text-align: center;
}

.connect-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.social-links .social-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.social-links .social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-text {
    font-weight: var(--font-weight-medium);
}

/* ===== CONTACT METHODS ===== */
.contact-methods {
    margin-bottom: var(--space-4xl);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.contact-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card__icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
}

.contact-card__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.contact-card__description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.contact-card__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.contact-card__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    margin-bottom: var(--space-4xl);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.btn--full-width {
    width: 100%;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin-bottom: var(--space-4xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.faq-item {
    padding: var(--space-2xl);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.faq-answer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__logo {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.footer__description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 300px;
}

.footer__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

.footer__list li {
    margin-bottom: var(--space-sm);
}

.footer__link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-icon {
    font-size: var(--font-size-lg);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* ===== ANIMATIONS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.page-header__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-tight);
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* ===== PROJECT HERO ===== */
.project-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.project-hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero__gradient--exiframe {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-hero__gradient--littlelog {
    background: linear-gradient(45deg, #FFE066, #FFB347, #FF8C42, #FF6B35);
}

.project-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl);
}

.project-hero__icon {
    width: 150px;
    height: 150px;
    border-radius: 37.5%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-xl);
    object-fit: cover;
}


.project-hero__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-hero__subtitle {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.project-hero__description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3xl);
    line-height: var(--line-height-relaxed);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.project-hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PROJECT DETAILS ===== */
.project-details {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

.project-content {
    max-width: 1000px;
    margin: 0 auto;
}

.project-section {
    margin-bottom: var(--space-4xl);
}

.project-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-3xl);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.feature-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ===== SCREENSHOTS GRID ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-3xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.screenshot-text {
    text-align: center;
}

/* ===== TECH DETAILS ===== */
.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.tech-item {
    text-align: center;
    padding: var(--space-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tech-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.tech-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ===== DOC LINKS ===== */
.doc-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-3xl);
}

/* ===== DOCUMENT PAGES ===== */
.document-page {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

.document-content {
    max-width: 800px;
    margin: 0 auto;
}

.document-header {
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--primary-dark);
}

.document-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.document-subtitle {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.document-body {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl);
    box-shadow: var(--shadow-sm);
}

.document-body h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.document-body h2:first-child {
    margin-top: 0;
}

.document-body p {
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}

.document-body ul {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.document-body li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.document-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.document-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== COMING SOON ===== */
.coming-soon-card {
    margin-bottom: var(--space-4xl);
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-icon {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--space-xl);
}

.coming-soon-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-3xl);
}

.coming-soon-topics {
    margin-bottom: var(--space-3xl);
}

.topics-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.topics-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.topics-list li {
    padding: var(--space-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.coming-soon-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    margin-bottom: var(--space-4xl);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.newsletter-input-group .form-input {
    flex: 1;
}

.newsletter-disclaimer {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
}

/* ===== ACTIVITY ===== */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.activity-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.activity-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.activity-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-sm);
}

.activity-date {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer__description {
        max-width: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .tech-details {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        right: var(--space-md);
        background-color: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg);
        min-width: 200px;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: var(--z-dropdown);
    }
    
    .nav__menu.nav__menu--active {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }
    
    .nav__link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.nav__toggle--active .hamburger {
        background-color: transparent;
    }
    
    .nav__toggle.nav__toggle--active .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.nav__toggle--active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero__title {
        font-size: var(--font-size-4xl);
    }
    
    .hero__subtitle {
        font-size: var(--font-size-xl);
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .project-card__content {
        padding: var(--space-2xl);
    }
    
    .project-card__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn--app-store {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .about-hero__content {
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline__item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline__year {
        min-width: auto;
        margin-bottom: var(--space-sm);
    }
    
    .project-hero__content {
        padding: var(--space-2xl);
    }
    
    .project-hero__icon {
        width: 120px;
        height: 120px;
    }
    
    .project-hero__title {
        font-size: var(--font-size-3xl);
    }
    
    .project-hero__subtitle {
        font-size: var(--font-size-lg);
    }
    
    .project-hero__description {
        font-size: var(--font-size-base);
    }
    
    .document-body {
        padding: var(--space-2xl);
    }
    
    .coming-soon-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .connect-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .doc-links {
        flex-direction: column;
        align-items: center;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: var(--space-sm);
        max-width: 100%;
    }
    
    .screenshot-item {
        aspect-ratio: 9/16;
    }
}

