/* PLUSCALE Homepage Styles */

/* --- General & Reset --- */
:root {
    --color-bg: #0c0a17;
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #9ca3af;
    --color-purple: #9333ea;
    --color-purple-medium: #a855f7;
    --color-purple-light: #c084fc;
    --color-blue: #2563eb;
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    --glass-hover-border-color: rgba(192, 132, 252, 0.5);
    --glass-hover-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.3), 0 0 20px rgba(192, 132, 252, 0.2);
}

html, body { height: 100%; }
html { scroll-behavior: smooth; }

body, h1, h2, h3, p, ul, li, a, button, details, summary {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* --- Animations & Effects --- */
@keyframes drift {
    0% { transform: translate(0px, 0px) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.glow-effect {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    animation: drift 30s ease-in-out infinite;
}

.glow-effect.top {
    top: -15%;
    left: -15%;
    width: 600px;
    height: 600px;
    background-color: rgba(147, 51, 234, 0.3);
}

.glow-effect.bottom {
    bottom: -15%;
    right: -15%;
    width: 600px;
    height: 600px;
    background-color: rgba(37, 99, 235, 0.3);
    animation-delay: -15s;
}

/* --- Global Components & Sticky Footer --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--glass-hover-border-color);
    box-shadow: var(--glass-hover-shadow);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.section {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    padding: 0 1rem;
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #fff;
}

.section-subtitle {
    max-width: 42rem;
    margin: 0.75rem auto 0;
    color: var(--color-text-secondary);
}

/* --- Header & Navigation --- */
.header {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 0;
    position: sticky;
    top: 1rem;
    z-index: 50;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 9999px;
    padding: 0.5rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-left: 1rem;
}

.nav-menu {
    display: none;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
    border-radius: 9999px;
    padding: 0 0.5rem;
    column-gap: 0.5rem;
}

.nav-menu-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.2s ease-in-out;
    border-radius: 9999px;
}

.nav-menu-link:hover { color: #fff; }

.nav-menu-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-quote-btn {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transition: background-color 0.2s ease-in-out;
    margin-right: 0.5rem;
}

.nav-quote-btn:hover { background-color: rgba(255, 255, 255, 0.1); }

/* --- Hero Section --- */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 6rem 0 8rem 0;
}

.hero-badge {
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
}

.hero-subtitle {
    max-width: 42rem;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.hero-button {
    width: 100%;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.hero-button:hover { transform: scale(1.05); }

.hero-button--primary {
    background-image: linear-gradient(to right, var(--color-blue), var(--color-purple));
}

.hero-button--primary:hover { opacity: 0.9; }

.hero-button--secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-button--secondary:hover { background-color: rgba(255, 255, 255, 0.2); }

/* --- Process Preview Section --- */
.process-section { max-width: 1024px; }

.process-window {
    width: 100%;
    height: auto;
    background-color: rgba(26, 22, 37, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    overflow: hidden;
}

.process-header {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.process-dots { display: flex; gap: 0.5rem; }

.process-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #4b5563;
    border-radius: 9999px;
}

.process-url-bar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.process-url {
    width: 50%;
    max-width: 28rem;
    background-color: rgba(0,0,0,0.2);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    border-radius: 0.5rem;
    padding: 0.375rem 1rem;
    text-align: center;
}

.process-body { padding: 1.5rem; }

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.process-subtitle {
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

.process-card {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.process-card svg { margin: 0 auto 0.5rem; }

.process-card h3 {
    font-weight: 600;
    font-size: 0.875rem;
    color: #fff;
}

/* --- Services & Portfolio & Pricing --- */
.grid-3 {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.service-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.service-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-card__text {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.portfolio-card {
    border-radius: 0.75rem;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.portfolio-card__content { padding: 1.5rem; }

.portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.portfolio-card__tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.tag-purple {
    background-color: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
}

.tag-blue {
    background-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.tag-green {
    background-color: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.portfolio-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-purple-light);
    transition: color 0.2s;
}

.portfolio-card__link:hover { color: #fff; }

.pricing-card {
    padding: 2rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pricing-card--highlight {
    border: 2px solid var(--color-purple-medium);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.4);
}

.pricing-card--highlight:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 24px 64px 0 rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 85, 247, 0.5);
}

.pricing-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.pricing-card__price {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #fff;
}

.pricing-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    color: var(--color-text-secondary);
}

.pricing-card__button {
    margin-top: 2rem;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.pricing-card__button--secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.pricing-card__button--primary {
    background-image: linear-gradient(to right, var(--color-blue), var(--color-purple));
}

.pricing-card__button--primary:hover { opacity: 0.9; }

/* --- FAQ Section --- */
.faq-section { max-width: 1024px; }

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__icon {
    color: var(--color-purple-light);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease-in-out;
}

.faq-item[open] .faq-item__icon { transform: rotate(45deg); }

.faq-item p {
    color: var(--color-text-secondary);
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* --- Footer --- */
.footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-text-secondary);
}

.footer-logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.footer-nav a { transition: color 0.2s ease-in-out; }
.footer-nav a:hover { color: #fff; }

.footer-copyright { font-size: 0.875rem; }

/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .content-wrap { padding: 0 1.5rem; }
    .hero-content { padding-top: 8rem; padding-bottom: 10rem; }
    .hero-title { font-size: 3.75rem; line-height: 1; }
    .hero-subtitle { font-size: 1.125rem; }
    .hero-buttons { flex-direction: row; width: auto; }
    .hero-button { width: auto; }
    .section { margin-bottom: 6rem; }
    .section-title { font-size: 2.25rem; line-height: 2.5rem; }
    .process-body { padding: 2.5rem; }
    .process-grid { gap: 1.5rem; }
    .process-title { font-size: 1.875rem; }
}

@media (min-width: 768px) {
    .nav-menu { display: flex; }
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .content-wrap { padding: 0 2rem; }
    .hero-title { font-size: 4.5rem; line-height: 1; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    #pricing .grid-3 { max-width: 1024px; margin-left: auto; margin-right: auto;}
}