/* Gradient Button @property declarations */
@property --pos-x { syntax: '<percentage>'; initial-value: 11.14%; inherits: false; }
@property --pos-y { syntax: '<percentage>'; initial-value: 140%; inherits: false; }
@property --spread-x { syntax: '<percentage>'; initial-value: 150%; inherits: false; }
@property --spread-y { syntax: '<percentage>'; initial-value: 180.06%; inherits: false; }
@property --color-1 { syntax: '<color>'; initial-value: #000; inherits: false; }
@property --color-2 { syntax: '<color>'; initial-value: #08012c; inherits: false; }
@property --color-3 { syntax: '<color>'; initial-value: #4e1e40; inherits: false; }
@property --color-4 { syntax: '<color>'; initial-value: #70464e; inherits: false; }
@property --color-5 { syntax: '<color>'; initial-value: #88394c; inherits: false; }
@property --border-angle { syntax: '<angle>'; initial-value: 20deg; inherits: true; }
@property --border-color-1 { syntax: '<color>'; initial-value: hsla(340, 75%, 60%, 0.2); inherits: true; }
@property --border-color-2 { syntax: '<color>'; initial-value: hsla(340, 75%, 40%, 0.75); inherits: true; }
@property --stop-1 { syntax: '<percentage>'; initial-value: 37.35%; inherits: false; }
@property --stop-2 { syntax: '<percentage>'; initial-value: 61.36%; inherits: false; }
@property --stop-3 { syntax: '<percentage>'; initial-value: 78.42%; inherits: false; }
@property --stop-4 { syntax: '<percentage>'; initial-value: 89.52%; inherits: false; }
@property --stop-5 { syntax: '<percentage>'; initial-value: 100%; inherits: false; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #000000;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(to right, #a5b4fc, #fda4af);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* Floating Dock Navigation */
.dock-container {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.dock:hover {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.dock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    background: transparent;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dock-item:hover {
    transform: scale(1.1) translateX(2px);
    color: white;
}

.dock-item:active {
    transform: scale(0.95);
}

.dock-item i {
    font-size: 1.25rem;
}

/* Tooltip */
.dock-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(30, 30, 30, 0.95);
    color: white;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dock-item:hover::after {
    opacity: 1;
}

/* Dock divider */
.dock-divider {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 4px 0;
    flex-shrink: 0;
}

/* Active dock item */
.dock-item.active {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

@keyframes dockFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-4px); }
}

/* ===== Hero Section - Geometric Design ===== */
.hero {
    padding: 0;
    background-color: #030303;
    position: relative;
    color: white;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Subtle background gradient wash */
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.05), transparent, rgba(244, 63, 94, 0.05));
    filter: blur(64px);
    pointer-events: none;
}

/* Top/bottom vignette overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #030303, transparent, rgba(3, 3, 3, 0.8));
    pointer-events: none;
    z-index: 2;
}

/* Shapes container */
.shapes-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Outer wrapper: positioned + entrance animation */
.elegant-shape {
    position: absolute;
    opacity: 0;
    animation: shapeEntrance 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) forwards;
    translate: var(--shape-tx, 0px) var(--shape-ty, 0px);
    transition: translate 0.9s cubic-bezier(0.23, 0.86, 0.39, 0.96);
}

/* Inner wrapper: continuous float */
.shape-float {
    animation: shapeFloat 12s ease-in-out infinite;
    position: relative;
}

/* Visual pill shape */
.shape-visual {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--shape-color), transparent);
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.shape-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

/* Shape 1: Large indigo, top-left */
.shape-1 {
    left: -10%;
    top: 15%;
    --rotate-start: -3deg;
    --rotate-end: 12deg;
    --shape-color: rgba(99, 102, 241, 0.15);
    animation-delay: 0.3s;
}
.shape-1 .shape-float {
    width: 600px;
    height: 140px;
}

/* Shape 2: Rose, bottom-right */
.shape-2 {
    right: -5%;
    top: 70%;
    --rotate-start: -30deg;
    --rotate-end: -15deg;
    --shape-color: rgba(244, 63, 94, 0.15);
    animation-delay: 0.5s;
}
.shape-2 .shape-float {
    width: 500px;
    height: 120px;
}

/* Shape 3: Violet, bottom-left */
.shape-3 {
    left: 5%;
    bottom: 5%;
    --rotate-start: -23deg;
    --rotate-end: -8deg;
    --shape-color: rgba(139, 92, 246, 0.15);
    animation-delay: 0.4s;
}
.shape-3 .shape-float {
    width: 300px;
    height: 80px;
}

/* Shape 4: Amber, top-right */
.shape-4 {
    right: 15%;
    top: 10%;
    --rotate-start: 5deg;
    --rotate-end: 20deg;
    --shape-color: rgba(245, 158, 11, 0.15);
    animation-delay: 0.6s;
}
.shape-4 .shape-float {
    width: 200px;
    height: 60px;
}

/* Shape 5: Cyan, top-left area */
.shape-5 {
    left: 20%;
    top: 5%;
    --rotate-start: -40deg;
    --rotate-end: -25deg;
    --shape-color: rgba(6, 182, 212, 0.15);
    animation-delay: 0.7s;
}
.shape-5 .shape-float {
    width: 150px;
    height: 40px;
}

/* Desktop shape positions */
@media (min-width: 768px) {
    .shape-1 { left: -5%; top: 20%; }
    .shape-2 { right: 0%; top: 75%; }
    .shape-3 { left: 10%; bottom: 10%; }
    .shape-4 { right: 20%; top: 15%; }
    .shape-5 { left: 25%; top: 10%; }
}

/* Shape entrance animation (from above) */
@keyframes shapeEntrance {
    from {
        opacity: 0;
        transform: translateY(-150px) rotate(var(--rotate-start));
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotate-end));
    }
}

/* Continuous floating */
@keyframes shapeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* Hero content container */
.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Two-line title */
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.7s forwards;
}

.title-line1 {
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-line2 {
    background: linear-gradient(to right, #a5b4fc, rgba(255, 255, 255, 0.9), #fda4af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Badge (below title) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.025em;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.9s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(244, 63, 94, 0.8);
    display: inline-block;
    flex-shrink: 0;
}

/* Description */
.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.025em;
    max-width: 36rem;
    padding: 0 1rem;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 1.1s forwards;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 1.3s forwards;
}

/* Social icons */
.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 1.5s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 10;
    opacity: 0;
    animation: contentFadeUp 1s cubic-bezier(0.25, 0.4, 0.25, 1) 2.2s forwards;
    transition: opacity 0.4s ease;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator-inner {
    animation: scrollBounce 1.8s ease-in-out 3.2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Content fade-up animation */
@keyframes contentFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive title sizing */
@media (min-width: 640px) {
    .hero-title { font-size: 3.75rem; }
}
@media (min-width: 768px) {
    .hero-title { font-size: 6rem; }
    .hero-description { font-size: 1.25rem; }
}

/* ===== Gradient Buttons ===== */
.gradient-btn {
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    line-height: 19px;
    font-family: 'Inter', sans-serif;
    padding: 1rem 2.25rem;
    min-width: 132px;
    border-radius: 11px;
    border: none;
    background: radial-gradient(
        var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
        var(--color-1) var(--stop-1),
        var(--color-2) var(--stop-2),
        var(--color-3) var(--stop-3),
        var(--color-4) var(--stop-4),
        var(--color-5) var(--stop-5)
    );
    transition:
        --pos-x 0.5s, --pos-y 0.5s,
        --spread-x 0.5s, --spread-y 0.5s,
        --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
        --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
        --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}

.gradient-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* Default hover (warm pink/amber) */
.gradient-btn:hover {
    --pos-x: 0%;
    --pos-y: 91.51%;
    --spread-x: 120.24%;
    --spread-y: 103.18%;
    --color-1: #c96287;
    --color-2: #c66c64;
    --color-3: #cc7d23;
    --color-4: #37140a;
    --color-5: #000;
    --border-angle: 190deg;
    --border-color-1: hsla(340, 78%, 90%, 0.1);
    --border-color-2: hsla(340, 75%, 90%, 0.6);
    --stop-1: 0%;
    --stop-2: 8.8%;
    --stop-3: 21.44%;
    --stop-4: 71.34%;
    --stop-5: 85.76%;
}

/* Variant: cool blue/teal (for secondary buttons) */
.gradient-btn-cool {
    --color-1: #000022;
    --color-2: #1f3f6d;
    --color-3: #469396;
    --color-4: #f1ffa5;
    --border-angle: 200deg;
    --border-color-1: hsla(320, 75%, 90%, 0.6);
    --border-color-2: hsla(320, 50%, 90%, 0.15);
}

.gradient-btn-cool:hover {
    --pos-x: 0%;
    --pos-y: 95.51%;
    --spread-x: 110.24%;
    --spread-y: 110.2%;
    --color-1: #000020;
    --color-2: #f1ffa5;
    --color-3: #469396;
    --color-4: #1f3f6d;
    --color-5: #000;
    --stop-1: 0%;
    --stop-2: 10%;
    --stop-3: 35.44%;
    --stop-4: 71.34%;
    --stop-5: 90.76%;
    --border-angle: 210deg;
    --border-color-1: hsla(320, 75%, 90%, 0.2);
    --border-color-2: hsla(320, 50%, 90%, 0.75);
}

/* Small gradient button (for arrows, icons) */
.gradient-btn-sm {
    min-width: unset;
    padding: 0;
    border-radius: 10px;
}

/* Round gradient button (for social icons, scroll-to-top) */
.gradient-btn-round {
    min-width: unset;
    padding: 0;
    border-radius: 50%;
}

/* Legacy .btn mapping to gradient-btn */
.btn {
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    line-height: 19px;
    font-family: 'Inter', sans-serif;
    padding: 1rem 2.25rem;
    min-width: 132px;
    border-radius: 11px;
    border: none;
    background: radial-gradient(
        var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
        var(--color-1) var(--stop-1),
        var(--color-2) var(--stop-2),
        var(--color-3) var(--stop-3),
        var(--color-4) var(--stop-4),
        var(--color-5) var(--stop-5)
    );
    transition:
        --pos-x 0.5s, --pos-y 0.5s,
        --spread-x 0.5s, --spread-y 0.5s,
        --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
        --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
        --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.btn:hover {
    --pos-x: 0%;
    --pos-y: 91.51%;
    --spread-x: 120.24%;
    --spread-y: 103.18%;
    --color-1: #c96287;
    --color-2: #c66c64;
    --color-3: #cc7d23;
    --color-4: #37140a;
    --color-5: #000;
    --border-angle: 190deg;
    --border-color-1: hsla(340, 78%, 90%, 0.1);
    --border-color-2: hsla(340, 75%, 90%, 0.6);
    --stop-1: 0%;
    --stop-2: 8.8%;
    --stop-3: 21.44%;
    --stop-4: 71.34%;
    --stop-5: 85.76%;
}

.btn-primary {
    color: white;
}

.btn-secondary {
    --color-1: #000022;
    --color-2: #1f3f6d;
    --color-3: #469396;
    --color-4: #f1ffa5;
    --border-angle: 200deg;
    --border-color-1: hsla(320, 75%, 90%, 0.6);
    --border-color-2: hsla(320, 50%, 90%, 0.15);
}

.btn-secondary:hover {
    --pos-x: 0%;
    --pos-y: 95.51%;
    --spread-x: 110.24%;
    --spread-y: 110.2%;
    --color-1: #000020;
    --color-2: #f1ffa5;
    --color-3: #469396;
    --color-4: #1f3f6d;
    --color-5: #000;
    --stop-1: 0%;
    --stop-2: 10%;
    --stop-3: 35.44%;
    --stop-4: 71.34%;
    --stop-5: 90.76%;
    --border-angle: 210deg;
    --border-color-1: hsla(320, 75%, 90%, 0.2);
    --border-color-2: hsla(320, 50%, 90%, 0.75);
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    cursor: pointer;
    --color-1: #000022;
    --color-2: #1f3f6d;
    --color-3: #469396;
    --color-4: #f1ffa5;
    --border-angle: 200deg;
    --border-color-1: hsla(320, 75%, 90%, 0.6);
    --border-color-2: hsla(320, 50%, 90%, 0.15);
    background: radial-gradient(
        var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
        var(--color-1) var(--stop-1),
        var(--color-2) var(--stop-2),
        var(--color-3) var(--stop-3),
        var(--color-4) var(--stop-4),
        var(--color-5) var(--stop-5)
    );
    transition:
        --pos-x 0.5s, --pos-y 0.5s,
        --spread-x 0.5s, --spread-y 0.5s,
        --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
        --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
        --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.social-link:hover {
    --pos-x: 0%;
    --pos-y: 95.51%;
    --spread-x: 110.24%;
    --spread-y: 110.2%;
    --color-1: #000020;
    --color-2: #f1ffa5;
    --color-3: #469396;
    --color-4: #1f3f6d;
    --color-5: #000;
    --stop-1: 0%;
    --stop-2: 10%;
    --stop-3: 35.44%;
    --stop-4: 71.34%;
    --stop-5: 90.76%;
    --border-angle: 210deg;
    --border-color-1: hsla(320, 75%, 90%, 0.2);
    --border-color-2: hsla(320, 50%, 90%, 0.75);
}

/* ===== About Section (SectionWithMockup) ===== */
.about {
    position: relative;
    padding: 6rem 0;
    background-color: #000000;
    overflow: hidden;
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e2e8f0;
    letter-spacing: -0.025em;
}

.section-description {
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.about-container {
    max-width: 1220px;
    width: 100%;
    padding: 0 2.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

/* Text column */
.about-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 546px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.about-text-col.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-description {
    color: #868f97;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 1.25rem;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #cbd5e0;
    font-weight: 500;
}

/* Mockup column */
.about-mockup-col {
    position: relative;
    width: 100%;
    max-width: 471px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s;
}

.about-mockup-col.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative background card */
.mockup-decorative {
    position: absolute;
    width: 472px;
    height: 500px;
    background-color: #090909;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    z-index: 0;
    top: 10%;
    left: -20%;
    filter: blur(2px);
    opacity: 0.6;
    transition: transform 1.2s ease-out;
}

/* Main glass mockup card */
.mockup-main {
    position: relative;
    width: 100%;
    height: 637px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 32px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10;
    overflow: hidden;
    transition: transform 1.2s ease-out;
}

.mockup-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    /* Force own compositing layer so Chrome renders it above the parent's backdrop-filter */
    transform: translateZ(0);
    position: relative;
    z-index: 1;
}

/* Bottom gradient divider */
.about-bottom-gradient {
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (min-width: 768px) {
    .about {
        padding: 12rem 0;
    }
    .about-title {
        font-size: 2.5rem;
        line-height: 1.325;
    }
    .about-description {
        font-size: 0.9375rem;
    }
}

/* ===== Skills Section ===== */
/* ===== Skills Section - Cybernetic Bento Grid ===== */
.skills {
    min-height: 100vh;
    padding: 5rem 1rem;
    background-color: #000000;
}

.bento-container {
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Animated paths background (Languages & Infrastructure card only) */
.bento-paths-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
    z-index: 0;
    /* Promote to own GPU layer and limit repaint scope for Chrome */
    transform: translateZ(0);
    will-change: transform;
    contain: layout style paint;
}

.bento-paths-bg svg {
    width: 100%;
    height: 100%;
    color: white;
    transform: translateZ(0);
}

.bento-paths-bg path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: pathFlow linear infinite;
    will-change: stroke-dashoffset, stroke-dasharray, opacity;
}

@keyframes pathFlow {
    0% {
        stroke-dasharray: 0.3, 0.7;
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
    50% {
        stroke-dasharray: 1, 0;
        stroke-dashoffset: -0.5;
        opacity: 0.6;
    }
    100% {
        stroke-dasharray: 0.3, 0.7;
        stroke-dashoffset: -1;
        opacity: 0.3;
    }
}

/* Bento card base */
.bento-item {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-item-inner {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Grid span utilities */
.bento-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-span-col2 {
    grid-column: span 2;
}

.bento-span-row2 {
    grid-row: span 2;
}

/* Card content */
.bento-icon {
    margin-bottom: 1rem;
}

.bento-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.bento-desc {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Skill pills inside bento cards */
.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-grow: 1;
    align-content: flex-start;
}

.skill-item {
    background: transparent;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Large card gets bigger text */
.bento-span-2x2 .bento-title {
    font-size: 1.5rem;
}

.bento-span-2x2 .bento-desc {
    font-size: 1rem;
    color: #9ca3af;
}

.bento-span-2x2 .bento-icon i {
    font-size: 2.5rem;
}

.bento-span-2x2 .skill-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2x2,
    .bento-span-col2 {
        grid-column: span 1;
    }
    .bento-span-2x2 {
        grid-row: span 1;
    }
}

/* ===== Projects Section - Carousel ===== */
.projects {
    padding: 100px 0;
    background-color: #000000;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.carousel-title {
    margin-bottom: 1rem;
}

.carousel-description {
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.carousel-arrows {
    display: none;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .carousel-arrows {
        display: flex;
    }
}

.carousel-arrow {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    --color-1: #000;
    --color-2: #0f1a3a;
    --color-3: #1a3a5c;
    --color-4: #2a5070;
    --color-5: #3a6080;
    --border-angle: 45deg;
    --border-color-1: hsla(210, 60%, 60%, 0.3);
    --border-color-2: hsla(210, 60%, 40%, 0.6);
    background: radial-gradient(
        var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
        var(--color-1) var(--stop-1),
        var(--color-2) var(--stop-2),
        var(--color-3) var(--stop-3),
        var(--color-4) var(--stop-4),
        var(--color-5) var(--stop-5)
    );
    transition:
        --pos-x 0.5s, --pos-y 0.5s,
        --spread-x 0.5s, --spread-y 0.5s,
        --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
        --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
        --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.carousel-arrow:hover {
    --pos-x: 0%;
    --pos-y: 91.51%;
    --spread-x: 120.24%;
    --spread-y: 103.18%;
    --color-1: #1a3a5c;
    --color-2: #3a7aaa;
    --color-3: #5ab0d0;
    --color-4: #1a3050;
    --color-5: #000;
    --border-angle: 190deg;
    --border-color-1: hsla(210, 60%, 80%, 0.15);
    --border-color-2: hsla(210, 60%, 80%, 0.6);
    --stop-1: 0%;
    --stop-2: 10%;
    --stop-3: 25%;
    --stop-4: 65%;
    --stop-5: 90%;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: max(100px, calc((100vw - 1200px) / 2 + 100px));
    padding-right: 20px;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 320px;
    scroll-snap-align: start;
    text-decoration: none;
    color: white;
    border-radius: 0.75rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 360px;
    }
}

.carousel-card {
    position: relative;
    min-height: 27rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.carousel-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
}

.carousel-card-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .carousel-card-content {
        padding: 2rem;
    }
}

.carousel-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    color: white;
}

.carousel-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-link {
    font-size: 0.875rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-card-link i {
    transition: transform 0.3s ease;
}

.carousel-slide:hover .carousel-card-link i {
    transform: translateX(4px);
}

.carousel-slide:hover .carousel-card img,
.carousel-slide:hover .carousel-card {
    transform: scale(1.02);
}

.carousel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.carousel-slide:hover .carousel-card::after {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.04);
}

.carousel-slide:hover .carousel-card {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

/* ===== Experience Section ===== */
/* ===== Experience Section - Evervault Cards ===== */
.experience {
    padding: 100px 0;
    background-color: #000000;
}

.ev-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ev-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .ev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .ev-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Evervault card */
.ev-card {
    --ev-mx: 50%;
    --ev-my: 50%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 22rem;
    overflow: hidden;
}

/* Corner + icons */
.ev-corner {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    z-index: 20;
}
.ev-tl { top: -0.75rem; left: -0.75rem; }
.ev-tr { top: -0.75rem; right: -0.75rem; }
.ev-bl { bottom: -0.75rem; left: -0.75rem; }
.ev-br { bottom: -0.75rem; right: -0.75rem; }

/* Interactive area */
.ev-card-area {
    position: relative;
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
}

.ev-chars-layer {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    mask-image: linear-gradient(white, transparent);
    -webkit-mask-image: linear-gradient(white, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ev-card:hover .ev-chars-layer {
    opacity: 0.5;
}

.ev-gradient-layer {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(to right, #22c55e, #1d4ed8);
    opacity: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.5s ease;
    mask-image: radial-gradient(250px at var(--ev-mx) var(--ev-my), white, transparent);
    -webkit-mask-image: radial-gradient(250px at var(--ev-mx) var(--ev-my), white, transparent);
}

.ev-card:hover .ev-gradient-layer {
    opacity: 1;
}

.ev-chars-overlay {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0;
    mix-blend-mode: overlay;
    transition: opacity 0.5s ease;
    mask-image: radial-gradient(250px at var(--ev-mx) var(--ev-my), white, transparent);
    -webkit-mask-image: radial-gradient(250px at var(--ev-mx) var(--ev-my), white, transparent);
}

.ev-chars-overlay p,
.ev-chars-layer p {
    position: absolute;
    inset: 0;
    padding: 0.25rem;
    font-size: 0.65rem;
    line-height: 1;
    word-break: break-all;
    white-space: pre-wrap;
    color: white;
    font-family: monospace;
    font-weight: 700;
}

.ev-card:hover .ev-chars-overlay {
    opacity: 1;
}

/* Card content */
.ev-content {
    position: relative;
    z-index: 10;
    padding: 1rem 0.25rem 0.25rem;
}

.ev-date {
    display: inline-block;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ev-role {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.125rem;
}

.ev-company {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.ev-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background-color: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.contact-info p {
    color: #a3a3a3;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.contact-item i {
    color: #ffffff;
    width: 20px;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    color: #e2e8f0;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a3a3a3;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* ===== Footer ===== */
.footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-text-col {
        max-width: 100%;
    }

    .about-mockup-col {
        max-width: 300px;
        margin-top: 2rem;
    }

    .about-title {
        font-size: 1.875rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .mockup-decorative {
        width: 300px;
        height: 317px;
        left: -10%;
    }

    .mockup-main {
        height: 405px;
    }

    /* Reduce section vertical padding on tablet/phone */
    .projects, .experience, .contact { padding: 60px 0; }
    .skills { padding: 3rem 1rem; }
    .about-container { padding: 0 1.5rem; }
}

/* ===== Phone-only overrides (≤ 640px) ===== */
@media (max-width: 640px) {
    /* Dock — move to bottom horizontal bar */
    .dock-container {
        left: 50%;
        bottom: 1rem;
        top: auto;
        transform: translateX(-50%);
    }

    .dock {
        flex-direction: row;
    }

    /* Flip divider back to vertical */
    .dock-divider {
        width: 1px;
        height: 20px;
        margin: 0 4px;
    }

    /* Hide social links + divider from mobile dock (available in footer & contact) */
    .dock-divider,
    .dock-divider ~ .dock-item {
        display: none;
    }

    /* Tooltip — appears above icons now that dock is at the bottom */
    .dock-item::after {
        left: 50%;
        bottom: calc(100% + 8px);
        top: auto;
        transform: translateX(-50%);
    }

    /* Hover nudge — up instead of right */
    .dock-item:hover {
        transform: scale(1.1) translateY(-2px);
    }

    /* Scroll indicator — push up above the mobile dock */
    .scroll-indicator {
        bottom: 5.5rem;
    }

    /* Carousel — restore normal left padding (dock is no longer on the left) */
    .carousel-viewport {
        padding-left: 20px;
    }

    /* Hero shapes — scaled down for small screens */
    .shape-1 .shape-float { width: 280px; height: 70px; }
    .shape-2 .shape-float { width: 240px; height: 60px; }
    .shape-3 .shape-float { width: 150px; height: 40px; }
    .shape-4 .shape-float { width: 100px; height: 30px; }
    .shape-5 { display: none; }
}
