/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FFD700;
    --secondary: #FF8C00;
    --primary-glow: rgba(255, 215, 0, 0.5);
    --bg-dark: #020617;
    --card-bg: rgba(15, 23, 42, 0.6);
    --border: rgba(255, 215, 0, 0.15);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --emerald: #34d399;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

textarea {
    font-family: inherit;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* LAYOUT UTILS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid { display: grid; }

.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }

/* GLOBALS & BACKGROUNDS */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, rgba(2, 6, 23, 1) 100%);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* HEADER */
.header-main {
    top: 0;
    left: 0;
    z-index: 50;
    background: linear-gradient(to right, rgba(255,255,255,0.05), transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.logo-glow {
    height: 3rem;
    width: auto;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-glow:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

.header-logo-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 1rem;
    margin-left: 1rem;
    display: none;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-link {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

.header-contact {
    gap: 1.5rem;
}

.header-email {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
    display: none;
}

.header-email:hover {
    color: white;
}

.btn-primary {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: white;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

/* MAIN CONTENT */
main {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
}

/* HERO SECTION */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto 5rem auto;
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: white;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.625;
}

.two-col-layout {
    max-width: 72rem;
    margin: 0 auto;
    gap: 4rem;
}

/* TOOL CONTROLS */
.tool-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.card-inner {
    padding: 2.5rem;
}

.input-group {
    margin-bottom: 2.5rem;
}

.input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 1rem;
}

.textarea-input {
    width: 100%;
    height: 9rem;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid #1e293b;
    border-radius: 1.5rem;
    padding: 1.5rem;
    font-size: 0.875rem;
    color: white;
    resize: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.textarea-input::placeholder {
    color: #475569;
}

.textarea-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.terminal-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.cmd-line {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cmd-prompt {
    margin-right: 0.5rem;
    opacity: 0.5;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cmd-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 0.75rem;
}

.cmd-option {
    font-size: 10px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

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

.cmd-slash {
    color: var(--primary);
    margin-right: 0.25rem;
}

.dna-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
}

.dna-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(255, 215, 0, 0.2), 0 10px 10px -5px rgba(255, 215, 0, 0.1);
    color: black;
}

.dna-title {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: white;
}

.dna-desc {
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toggle-switch {
    width: 3.5rem;
    height: 1.75rem;
    background-color: var(--primary);
    border-radius: 9999px;
    position: relative;
}

.toggle-knob {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.glow-button {
    width: 100%;
    padding: 1.5rem 0;
    color: black;
    border-radius: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(255, 215, 0, 0.1);
    background-color: var(--primary);
    transition: all 0.3s ease;
    overflow: hidden;
}

.glow-button:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.glow-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #fff, transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-button:hover::after {
    opacity: 0.3;
}

/* LIVE PREVIEW COLUMN */
.preview-col {
    position: sticky;
    top: 12rem;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.preview-title {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--emerald);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.status-text {
    font-size: 10px;
    font-weight: 900;
    color: var(--emerald);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.preview-card-inner {
    padding: 2rem;
    border-color: rgba(255,255,255,0.1);
}

.mockup-shell {
    background: #fff;
    border-radius: 0.75rem;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1rem;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

.hidden { display: none !important; }

.img-container {
    width: 100%;
    height: 20rem;
    background-color: #0f172a;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.img-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.7s ease;
    transform: scale(1.05);
}

.post-content {
    padding: 0 0.5rem;
}

.post-hook {
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.post-body {
    color: #64748b;
    line-height: 1.625;
    font-weight: 500;
    font-size: 0.875rem;
}

.meta-stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background-color: rgba(255,255,255,0.05);
    padding: 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-label {
    font-size: 10px;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}

.stat-value.emerald { color: var(--emerald); }
.stat-unit { font-size: 0.75rem; opacity: 0.5; }

/* SECTIONS GENERAL */
.section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-header {
    max-width: 56rem;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.05em;
}

/* ABOUT SECTION */
.about-subtitle {
    font-size: 11px;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.about-card {
    padding: 3rem;
    max-width: 64rem;
    margin: 0 auto;
    border-color: rgba(255,255,255,0.1);
}

.about-img-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 2rem;
}

.about-img-glow {
    position: absolute;
    top: -0.25rem; right: -0.25rem; bottom: -0.25rem; left: -0.25rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 9999px;
    filter: blur(8px);
    opacity: 0.25;
    transition: opacity 1s, transition-duration 0.2s;
}

.about-img-wrapper:hover .about-img-glow {
    opacity: 0.5;
    transition-duration: 0.2s;
}

.about-img-container {
    width: 14rem;
    height: 14rem;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    border: 4px solid #0f172a;
}

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

.about-name {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: white;
}

.about-role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.role-line {
    width: 2rem;
    height: 1px;
    background-color: var(--primary);
    margin-right: 0.75rem;
}

.about-desc {
    color: #cbd5e1;
    line-height: 1.625;
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* SERVICES SECTION */
.services-grid {
    max-width: 64rem;
    margin: 0 auto;
    gap: 2.5rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 8px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

.service-card.orange-border {
    border-top-color: var(--secondary);
}

.service-card:hover {
    transform: translateY(-0.5rem);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: all 0.5s;
}

.service-card.orange-border .service-icon {
    color: var(--secondary);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: black;
}

.service-card.orange-border:hover .service-icon {
    background-color: var(--secondary);
    color: black;
}

.service-title {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.625;
    font-weight: 500;
    font-size: 1.125rem;
}

.service-link {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    transition: transform 0.3s;
}

.service-card.orange-border .service-link {
    color: var(--secondary);
}

.service-card:hover .service-link {
    transform: translateX(0.5rem);
}

.link-arrow {
    margin-left: 0.75rem;
}

/* CONTACT SECTION */
.contact-card {
    padding: 3rem;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    border-color: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.contact-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16rem;
    height: 4px;
    background-color: var(--primary);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.05em;
}

.contact-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
    font-weight: 500;
}

.btn-contact {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-contact:hover {
    background-color: var(--primary);
}

.contact-form {
    text-align: left;
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.resize-none {
    resize: none;
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
}

/* FOOTER */
footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-logo {
    height: 2rem;
    width: auto;
    opacity: 0.3;
    filter: grayscale(100%);
    transition: opacity 0.5s, filter 0.5s;
}

.footer-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #475569;
}

/* PANELS */
.panels-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 4rem auto 0 auto;
    max-width: 64rem;
}

@media (min-width: 768px) {
    .panels-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.panel {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
}

.panel-top, .panel-bottom {
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    min-height: 80px;
}

.panel-top {
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    color: var(--primary);
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.03), transparent);
}

.panel-bottom {
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (min-width: 640px) {
    .header-logo-text { display: block; }
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero-title { font-size: 4.5rem; }
    .about-card { flex-direction: row; align-items: center; }
    .about-img-container { width: 18rem; height: 18rem; }
    .about-img-wrapper { margin-bottom: 0; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-card { padding: 6rem; }
    .contact-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .header-email { display: block; }
    .two-col-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
