/* pencloser.com - Y2K Futurism Design */
/* Colors: #7c3aed, #2d1654, #fcd34d, #e5e7eb, #f59e0b, #6b21a8, #ffffff, #1a0a2e */
/* Fonts: Space Mono, Outfit, Bebas Neue */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-violet: #1a0a2e;
    --mid-violet: #2d1654;
    --violet-accent: #6b21a8;
    --electric-violet: #7c3aed;
    --amber-primary: #f59e0b;
    --bright-amber: #fcd34d;
    --white: #ffffff;
    --light-gray: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--deep-violet);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== SHIMMER BARS (Decorative skeleton loading) ===== */
.shimmer-bar {
    position: fixed;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(252, 211, 77, 0.0) 20%,
        rgba(252, 211, 77, 0.4) 50%,
        rgba(252, 211, 77, 0.0) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmerSlide 3s ease-in-out infinite;
    z-index: 1000;
    pointer-events: none;
}

.shimmer-bar-1 {
    top: 0;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.shimmer-bar-2 {
    top: auto;
    bottom: 50%;
    left: 0;
    width: 60%;
    opacity: 0.3;
    animation-delay: 1s;
}

.shimmer-bar-3 {
    top: 30%;
    right: 0;
    left: auto;
    width: 40%;
    opacity: 0.2;
    animation-delay: 2s;
}

@keyframes shimmerSlide {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== NAVIGATION (Chrome metallic) ===== */
.nav-chrome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(
        180deg,
        rgba(45, 22, 84, 0.95) 0%,
        rgba(26, 10, 46, 0.85) 100%
    );
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-bracket {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: var(--bright-amber);
    font-weight: 700;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--bright-amber), var(--white), var(--amber-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--light-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bright-amber);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--bright-amber);
}

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

/* ===== CHROME BUTTONS ===== */
.chrome-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(252, 211, 77, 0.4);
    background: linear-gradient(
        135deg,
        rgba(45, 22, 84, 0.8) 0%,
        rgba(107, 33, 168, 0.4) 50%,
        rgba(45, 22, 84, 0.8) 100%
    );
    color: var(--bright-amber);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chrome-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(252, 211, 77, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.chrome-btn:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.chrome-btn:hover {
    border-color: var(--bright-amber);
    box-shadow: 0 0 20px rgba(252, 211, 77, 0.2);
}

.chrome-btn-primary {
    background: linear-gradient(
        135deg,
        var(--amber-primary) 0%,
        var(--bright-amber) 50%,
        var(--amber-primary) 100%
    );
    color: var(--deep-violet);
    border-color: var(--bright-amber);
    font-weight: 700;
}

.chrome-btn-primary:hover {
    box-shadow: 0 0 30px rgba(252, 211, 77, 0.4);
}

.chrome-btn-secondary {
    background: transparent;
    border-color: var(--electric-violet);
    color: var(--light-gray);
}

.chrome-btn-secondary:hover {
    border-color: var(--bright-amber);
    color: var(--bright-amber);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(107, 33, 168, 0.2) 0%,
        var(--deep-violet) 70%
    );
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.shimmer-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-amber), var(--electric-violet));
    margin-bottom: 2rem;
    animation: shimmerSlide 2s ease-in-out infinite;
    background-size: 200% 100%;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.title-line {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.95;
    letter-spacing: 0.05em;
}

.title-line-1 {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--bright-amber);
    transform: translateX(-8px);
}

.title-line-2 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--light-gray);
    opacity: 0.7;
    transform: translateX(20px);
}

.title-line-3 {
    font-size: clamp(4rem, 10vw, 8rem);
    background: linear-gradient(135deg, var(--electric-violet), var(--bright-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(-4px);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--light-gray);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crystal-hero {
    width: 100%;
    max-width: 400px;
    animation: crystalFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.3));
}

.chrome-leaf {
    position: absolute;
    pointer-events: none;
}

.leaf-1 {
    width: 80px;
    top: 10%;
    right: -10%;
    animation: leafFloat 8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes crystalFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.hero-diagonal-clip {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--mid-violet);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ===== SECTION SHARED STYLES ===== */
.section-diagonal-top {
    height: 80px;
    background: var(--mid-violet);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
    margin-top: -1px;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--amber-primary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.section-body {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--light-gray);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 1rem;
}

/* ===== SKELETON DECORATIVE LINES ===== */
.skeleton-deco {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skeleton-line {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.2) 0%,
        rgba(252, 211, 77, 0.15) 50%,
        rgba(124, 58, 237, 0.2) 100%
    );
    background-size: 200% 100%;
    animation: shimmerSlide 3s ease-in-out infinite;
}

.skeleton-line-long { width: 100%; }
.skeleton-line-medium { width: 70%; }
.skeleton-line-short { width: 40%; }
.skeleton-line-feature { width: 60%; margin-top: 1rem; }

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--mid-violet);
    padding: 0 2rem 6rem;
    position: relative;
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duotone-frame {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    border: 1px solid rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle at center,
        rgba(107, 33, 168, 0.15) 0%,
        transparent 70%
    );
}

.nature-chrome {
    width: 80%;
    animation: crystalFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.2));
}

.shimmer-accent-about {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 120px;
}

.about-content {
    position: relative;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--deep-violet);
    padding: 6rem 2rem;
    position: relative;
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
}

.features-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    text-align: center;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(
        135deg,
        rgba(45, 22, 84, 0.6) 0%,
        rgba(26, 10, 46, 0.8) 100%
    );
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bright-amber), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(252, 211, 77, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
}

.feature-card-1 {
    transform: translateY(20px);
}

.feature-card-3 {
    transform: translateY(20px);
}

.feature-card-1:hover {
    transform: translateY(16px);
}

.feature-card-3:hover {
    transform: translateY(16px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--bright-amber);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== CRYSTAL SECTION ===== */
.crystal-section {
    background: var(--mid-violet);
    padding: 0 2rem 6rem;
    position: relative;
}

.crystal-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.crystal-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--bright-amber);
    line-height: 1;
}

.stat-unit {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--electric-violet);
    display: inline;
}

.stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
}

.crystal-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crystal-large {
    width: 100%;
    max-width: 450px;
    animation: crystalFloat 7s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(124, 58, 237, 0.25));
}

.crystal-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { r: 12; opacity: 0.4; }
    50% { r: 18; opacity: 0.2; }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--deep-violet);
    padding: 8rem 2rem;
    position: relative;
    text-align: center;
    overflow: hidden;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-heading {
    display: inline-block;
}

.contact-body {
    margin: 0 auto 2.5rem;
    text-align: center;
    max-width: 480px;
}

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

.form-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.form-input {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    background: rgba(45, 22, 84, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--white);
    min-width: 280px;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: rgba(229, 231, 235, 0.4);
}

.form-input:focus {
    outline: none;
    border-color: var(--bright-amber);
}

.contact-skeleton {
    opacity: 0.5;
    max-width: 300px;
    margin: 0 auto;
}

.contact-crystal {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.contact-crystal-left {
    left: 5%;
    bottom: 10%;
    animation: crystalFloat 9s ease-in-out infinite;
}

.contact-crystal-right {
    right: 5%;
    top: 15%;
    animation: crystalFloat 7s ease-in-out infinite reverse;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--deep-violet);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 3rem 2rem 1.5rem;
    position: relative;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.footer-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--light-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bright-amber);
}

.footer-copy {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: rgba(229, 231, 235, 0.4);
}

.shimmer-bar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 350px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content .section-body {
        margin-left: auto;
        margin-right: auto;
    }

    .crystal-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .crystal-stats {
        justify-content: center;
    }

    .crystal-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-body {
        margin-left: auto;
        margin-right: auto;
    }
}

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

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

    .feature-card-1,
    .feature-card-3 {
        transform: none;
    }

    .feature-card-1:hover,
    .feature-card-3:hover {
        transform: translateY(-4px);
    }

    .crystal-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
        align-items: center;
    }

    .form-input {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    .contact-crystal {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .nav-inner {
        padding: 0.8rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}