/* ===================================
   ilhanEdu Portfolio - Premium Crypto Aesthetic
   =================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors */
    --color-bg: #faf8f5;
    --color-bg-alt: #f5f2ed;
    --color-dark: #0d0d0d;
    --color-dark-soft: #1a1a1a;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-accent: #e85d04;
    --color-accent-light: #ff7b2e;

    /* Crypto Accent */
    --color-crypto-teal: #00d4aa;
    --color-crypto-purple: #7b61ff;
    --color-crypto-gradient: linear-gradient(135deg, #00d4aa 0%, #7b61ff 100%);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================
   Hero Labels Animation (within hero section)
   =================================== */

/* Labels container - positioned to the right of avatar within viewport */
.hero-labels {
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

/* Individual Label Styling - matching app UI */
.hero-label {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    white-space: nowrap;
}

/* Glitch/shimmer effect behind text */
.hero-label::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 212, 170, 0.3);
    transform: translateX(-2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Visible state for labels */
.hero-label.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-label.visible::before {
    opacity: 1;
}

/* Staggered animation delays */
.hero-label[data-index="0"].visible {
    transition-delay: 0s;
}

.hero-label[data-index="1"].visible {
    transition-delay: 0.15s;
}

.hero-label[data-index="2"].visible {
    transition-delay: 0.3s;
}

.hero-label[data-index="3"].visible {
    transition-delay: 0.45s;
}

/* Mobile responsive for hero labels - disabled for now */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo-dot {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--color-dark-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section - Side by Side Layout
   =================================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: calc(100vh - 200px);
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 400px;
    line-height: 1.6;
}

.hero-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.title-outline {
    -webkit-text-stroke: 2px var(--color-accent);
    color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 450px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 4rem;
    max-width: 450px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-dark);
}

.scroll-icon {
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hero-social {
    text-align: right;
}

.hero-social p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--color-dark);
    border-radius: 8px;
    transition: var(--transition-fast);
    background: transparent;
}

.social-btn:hover {
    background: var(--color-dark);
    color: white;
}

/* Hero Image - Right Side */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar {
    max-width: 750px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
}

.hero-badge {
    display: none;
}


/* Scrolling Banner */
.scrolling-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    padding: 1.25rem 0;
    overflow: hidden;
}

.banner-track {
    display: flex;
    gap: 4rem;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.banner-track span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.banner-track span.outline {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* ===================================
   Section Styles
   =================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.list-number {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
}

.about-list li div {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.about-list li strong {
    color: var(--color-dark);
}

.about-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(123, 97, 255, 0.05));
    border-left: 4px solid var(--color-crypto-teal);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

.about-highlight p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-highlight strong {
    color: var(--color-crypto-teal);
}

/* Stats Cards */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--color-crypto-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===================================
   How I Think Section
   =================================== */
.thinking {
    background: var(--color-dark);
    color: white;
}

.thinking .section-label {
    color: var(--color-crypto-teal);
}

.thinking .section-title {
    color: white;
}

.thinking .section-intro {
    color: rgba(255, 255, 255, 0.7);
}

.thinking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.thinking-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.thinking-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--color-crypto-teal);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thinking-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.thinking-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.thinking-results {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
}

.thinking-results h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-crypto-teal);
}

.thinking-results ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.thinking-results li {
    background: rgba(0, 212, 170, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

/* ===================================
   Skills Section
   =================================== */
.skills {
    background: var(--color-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.skills-column h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.skills-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1rem;
}

.skills-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.explanation-style {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.explanation-style h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.style-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--color-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--color-dark);
    color: white;
    border-color: var(--color-dark);
}

.style-note {
    font-size: 1rem;
    color: var(--color-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ===================================
   Tech Section
   =================================== */
.tech {
    background: white;
}

.honest-note {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 2.5rem;
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.tech-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.tech-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-crypto-teal);
    font-weight: 700;
}

.tech-note {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
    text-align: center;
    padding: 1.5rem;
    background: rgba(232, 93, 4, 0.05);
    border-radius: 12px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--color-bg-alt);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.timeline-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--color-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-marker span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.timeline-marker small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.timeline-content>ul>li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.timeline-content>ul>li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.timeline-content ul ul {
    margin-top: 0.75rem;
    margin-left: 1rem;
}

.timeline-content ul ul li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.timeline-content ul ul li::before {
    content: '–';
    position: absolute;
    left: 0;
}

.services-note {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(123, 97, 255, 0.1));
    border-radius: 16px;
}

.services-note p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-dark);
}

/* ===================================
   Strengths Section
   =================================== */
.strengths {
    background: white;
}

.strengths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.strength-do,
.strength-dont {
    padding: 3rem;
    border-radius: 20px;
}

.strength-do {
    background: var(--color-bg);
}

.strength-dont {
    background: var(--color-dark);
    color: white;
}

.strength-do h3,
.strength-dont h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.strength-do ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.strength-do ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-crypto-teal);
    font-weight: 700;
}

.dont-content {
    line-height: 1.8;
}

.big-statement {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff4444;
    margin-bottom: 0.5rem;
}

.contrast {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contrast strong {
    color: var(--color-crypto-teal);
}

/* ===================================
   Experience Section
   =================================== */
.experience {
    background: var(--color-bg);
}

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

.exp-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.exp-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-crypto-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.exp-item p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.exp-item strong {
    color: var(--color-dark);
}

/* Track Record Grid - 2 columns, equal height cards */
.track-record-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.track-record-grid>* {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-record-grid .exp-item {
    min-height: 120px;
}

.track-record-grid .protocol-card {
    min-height: 120px;
    flex-direction: row;
    align-items: center;
}

.protocol-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.protocol-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(123, 97, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocol-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.protocol-logo {
    transition: var(--transition-smooth);
}

a.protocol-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.protocol-info {
    flex: 1;
}

.protocol-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.protocol-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.protocol-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Community only grid */
.experience-grid.community-only {
    grid-template-columns: 1fr;
    max-width: 500px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    background: var(--color-dark);
    color: white;
    overflow-x: clip;
}

.testimonials .section-label {
    color: var(--color-crypto-teal);
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-intro {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 2rem;
}

.testimonials-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
    padding: 1rem 0 3.5rem;
}

.testimonials-track:active {
    cursor: grabbing;
}

/* Individual Testimonial Card - Clean 16:9 */
.testimonial-card {
    flex-shrink: 0;
    width: 50%;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: visible;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0.5;
    transform: scale(0.92);
}

/* Active/centered card stands out */
.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    opacity: 1;
}

/* Screenshot Container - Full rounded corners */
.testimonial-screenshot {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(123, 97, 255, 0.08));
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card.active .testimonial-screenshot {
    border-color: var(--color-crypto-teal);
    box-shadow: 0 15px 50px rgba(0, 212, 170, 0.2);
}

.testimonial-screenshot img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-screenshot img {
    transform: scale(1.02);
}

/* Hide image if it fails to load, show placeholder */
.testimonial-screenshot img[src=""],
.testimonial-screenshot img:not([src]),
.testimonial-screenshot img.error {
    display: none;
}

/* Placeholder for missing screenshots */
.screenshot-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    pointer-events: none;
}

.screenshot-placeholder .placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

/* Hide placeholder when image is loaded */
.testimonial-screenshot.has-image .screenshot-placeholder {
    display: none;
}

/* Circular Avatar at Bottom Center */
.testimonial-avatar {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-dark);
    border: 3px solid var(--color-crypto-teal);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default avatar placeholder */
.testimonial-avatar::before {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    opacity: 0.6;
}

.testimonial-avatar.has-image::before {
    display: none;
}

/* Navigation Controls */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: var(--color-crypto-teal);
    border-color: var(--color-crypto-teal);
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.testimonial-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Dots Navigation */
.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonials-dots .dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonials-dots .dot.active {
    background: var(--color-crypto-teal);
    transform: scale(1.2);
}

/* Swipe indicators */
.testimonials-carousel::before,
.testimonials-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 80px;
    width: 60px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-carousel::before {
    left: -30px;
    background: linear-gradient(to right, rgba(13, 13, 13, 0.8), transparent);
}

.testimonials-carousel::after {
    right: -30px;
    background: linear-gradient(to left, rgba(13, 13, 13, 0.8), transparent);
}

.testimonials-carousel.show-left-fade::before,
.testimonials-carousel.show-right-fade::after {
    opacity: 1;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-carousel {
        max-width: 100%;
        padding: 0 1rem;
    }

    .testimonial-card {
        border-radius: 16px;
    }

    .testimonial-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .testimonials-nav {
        gap: 1rem;
    }

    .testimonial-nav-btn {
        width: 44px;
        height: 44px;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
}

.contact .section-label {
    color: var(--color-crypto-teal);
}

.contact .section-title {
    color: white;
}

.contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

/* X (Twitter) Button - Black rectangular */
.contact-btn.x-contact-btn {
    background: #000000;
    color: white;
    border: none;
}

.contact-btn.x-contact-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-btn.x-contact-btn svg {
    width: 20px;
    height: 20px;
}

/* Discord Button */
.contact-btn.discord-contact-btn {
    background: #5865F2;
    color: white;
    border: none;
}

.contact-btn.discord-contact-btn:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
}

.contact-btn.discord-contact-btn svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-intro,
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        max-width: 100%;
    }

    .avatar {
        max-width: 350px;
    }

    .hero-badge {
        display: none;
    }

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

    .about-grid,
    .skills-grid,
    .tech-grid,
    .strengths-grid,
    .experience-grid,
    .track-record-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .hero-social {
        text-align: center;
    }

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

    .thinking-results ul {
        flex-direction: column;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-content>ul>li,
    .timeline-content ul ul li {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 4rem 1.5rem;
    }

    .hero-container {
        padding: 2rem 1.5rem;
    }

    .avatar {
        max-width: 280px;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .thinking-card,
    .tech-card,
    .explanation-style,
    .timeline-content,
    .strength-do,
    .strength-dont,
    .protocol-card {
        padding: 1.5rem;
    }

    .protocol-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .protocol-logo {
        width: 56px;
        height: 56px;
    }
}

/* ===================================
   Animations & Hover Effects
   =================================== */
@media (prefers-reduced-motion: no-preference) {

    .thinking-card,
    .stat-card,
    .tech-card,
    .exp-item,
    .protocol-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .thinking-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .thinking-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .thinking-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .thinking-card:nth-child(4) {
        animation-delay: 0.4s;
    }
}
