/* Modern Dark Theme Design System for PTS Hub */

:root {
    --bg-dark: #070913;
    --bg-card: rgba(17, 24, 39, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6; /* Electric Blue */
    --accent-secondary: #8b5cf6; /* Royal Purple */
    --accent-success: #10b981; /* Emerald Green */
    --accent-warning: #f59e0b; /* Amber */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Background Glow Blurs */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.glow-1 {
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.glow-2 {
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    top: 600px;
    left: -200px;
}

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

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

/* Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.w-full {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--accent-primary);
    font-size: 1.75rem;
    line-height: 1;
}

.brand-name span {
    color: var(--accent-primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem 0;
    position: relative;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

/* Floating Window Wrap */
.hero-preview-wrapper {
    max-width: 950px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium), 0 30px 60px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateX(2deg);
    transition: var(--transition);
}

.hero-preview-wrapper:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    border-color: var(--border-hover);
}

.window-header {
    background: rgba(15, 23, 42, 0.8);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

.window-title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

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

/* Brand Showcase */
.showcase-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.75;
}

.logo-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dept {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Features Grid */
.features-section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Architecture Section */
.architecture-section {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
}

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

.arch-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.arch-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.arch-list {
    list-style: none;
}

.arch-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.arch-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-primary);
}

.arch-visual {
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.server-node {
    background: #0f172a;
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    width: 220px;
    box-shadow: var(--shadow-premium);
    z-index: 2;
}

.server-node.central {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.node-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.node-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.connect-lines {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    position: relative;
}

.sub-nodes {
    display: flex;
    gap: 1.5rem;
}

.sub-nodes .server-node {
    width: 140px;
    padding: 0.75rem 1rem;
}

.sub-nodes .server-node .node-title {
    font-size: 0.8rem;
}

/* Subdomain Sandbox Section */
.sandbox-section {
    padding: 6rem 0;
}

.sandbox-box {
    padding: 4rem;
    border-radius: var(--radius-lg);
    max-width: 850px;
    margin: 0 auto;
}

.sandbox-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sandbox-header p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.checker-container {
    display: flex;
    gap: 1rem;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.25rem 1.25rem;
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.input-wrapper input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    outline: none;
}

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

.domain-suffix {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.checker-status {
    max-width: 650px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

.checker-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-success);
}

.checker-status.error {
    background: rgba(239, 110, 110, 0.1);
    border: 1px solid rgba(239, 110, 110, 0.3);
    color: #f87171;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
}

.pricing-calculator {
    max-width: 750px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: var(--radius-lg);
}

.slider-box {
    margin-bottom: 3.5rem;
}

.slider-box label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.slider-box span {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

#member-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 99px;
    outline: none;
    cursor: pointer;
}

#member-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: var(--transition);
}

#member-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.plan-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.plan-price {
    text-align: right;
    min-width: 200px;
}

.plan-price .price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.plan-price .price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.feature-item {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.feature-item.disabled {
    color: rgba(255,255,255,0.15);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    background: #04060d;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Application Directory Section Styling */
.apps-section {
    padding: 6rem 0;
    position: relative;
}

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

.app-card {
    grid-column: span 4;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.app-card.highlighted {
    grid-column: span 12;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.75) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
    min-height: 420px;
}

@media (max-width: 992px) {
    .app-card {
        grid-column: span 6;
    }
    .app-card.highlighted {
        grid-column: span 12;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .app-card {
        grid-column: span 12;
    }
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.app-card.highlighted:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
}

.app-badge {
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.app-badge.live {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-success);
}

.app-badge.dev {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-warning);
}

.app-badge.planned {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
}

.app-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.app-card.highlighted .app-title {
    font-size: 2.25rem;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-features-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-features-list li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.app-features-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

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

/* Responsiveness */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .arch-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .logo-grid {
        gap: 2rem;
    }
    .pricing-display {
        flex-direction: column;
        text-align: center;
    }
    .plan-price {
        text-align: center;
        width: 100%;
    }
    .plan-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Waitlist Button Styles */
.btn-waitlist {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
    background-size: 200% auto;
    color: var(--text-primary);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    animation: waitlistPulse 2.5s infinite alternate, waitlistGrad 4s linear infinite;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.btn-waitlist:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

@keyframes waitlistPulse {
    0% {
        box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
    }
    100% {
        box-shadow: 0 0 35px rgba(6, 182, 212, 0.7), 0 0 10px rgba(167, 139, 250, 0.4);
    }
}

@keyframes waitlistGrad {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Discord Button Styles */
.btn-discord {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: var(--text-primary);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.btn-discord:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}


