/* ============================================
   PKRR.io - Shared Stylesheet
   Pure CSS, No JavaScript, Mobile-First
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(ellipse at top, #1e2a4a 0%, #0f1729 40%, #000000 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #f5f5f5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 2rem 2rem 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.container-scroll {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.nav-logo-img {
    height: 32px;
    width: auto;
    max-width: 70px;
    display: block;
    object-fit: contain;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.content-wrapper-wide {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.logo {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.logo-img-wrapper {
    display: block;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 100px;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img-wrapper:hover .logo-img {
    transform: translateY(-2px);
}

.heading {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subheading {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Typography */
.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-large {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    color: #b0b0b0;
    text-transform: uppercase;
}

/* Hero gradient text for coming soon */
.hero-text {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.02rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text.gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02rem;
    margin-top: 1rem;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-centered {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-body {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.text-secondary {
    color: rgba(255, 255, 255, 0.7);
}

.text-light {
    color: rgba(255, 255, 255, 0.85);
}

.text-white {
    color: #ffffff;
}

.text-large-body {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.mb-xs { margin-bottom: 0.25rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mb-xxl { margin-bottom: 4rem; }

.mt-xs { margin-top: 0.25rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mt-xxl { margin-top: 4rem; }

.p-sm { padding: 0.5rem; }
.p-md { padding: 1rem; }
.p-lg { padding: 2rem; }
.p-xl { padding: 3rem; }

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    animation: fadeIn 1.5s ease-in;
}

.fade-in-fast {
    animation: fadeIn 0.8s ease-in;
}

.slide-up {
    animation: slideUp 1.2s ease-out;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LINKS & BUTTONS (Pure CSS)
   ============================================ */

a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.link-subtle {
    color: #b0b0b0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.link-subtle:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    opacity: 1;
}

/* Button-like links using CSS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.875rem;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.btn:hover {
    background-color: #ffffff;
    color: #0f0f0f;
    opacity: 1;
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    opacity: 1;
}

.link-highlight {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    transition: opacity 0.3s ease;
}

.link-highlight:hover {
    opacity: 0.7;
}

/* ============================================
   CONTENT COMPONENTS
   ============================================ */

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Frosted Glass Cards */
.card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
}

.card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    width: 100%;
}

.feature-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.faq-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-left-color: rgba(255, 255, 255, 0.5);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05rem;
}

.footer-note {
    text-align: center;
    margin: 3rem 0 1rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    text-align: center;
    color: #808080;
    font-size: 0.875rem;
    margin: 1rem 0 2rem 0;
}

/* ============================================
   FOOTER COMPONENT
   ============================================ */

.site-footer {
    width: 100%;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

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

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

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.footer-link:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.footer-copyright-text {
    color: #808080;
    font-size: 0.875rem;
    font-weight: 300;
    text-align: center;
}

/* Body wrapper for sticky footer */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.max-w-narrow {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-wide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.mt-section {
    margin-top: 6rem;
}

.mb-section {
    margin-bottom: 6rem;
}

.privacy-section {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.privacy-item-title {
    font-size: 1.125rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-left: 1.5rem;
}

.privacy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b0b0b0;
    font-size: 1.25rem;
    line-height: 1.6;
}

.contact-info {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-info strong {
    color: #ffffff;
    font-weight: 400;
}

/* Mobile App Focus Components */
.mobile-highlight {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem;
}

/* Accent Lines */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #8b5cf6);
    margin: 2rem auto;
    border-radius: 2px;
}

/* CTA Section */
.cta-section {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet and below */
@media (max-width: 1024px) {
    .content-wrapper-wide {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 1.5rem;
    }

    .container-scroll {
        padding: 2rem 1.5rem;
    }

    .nav-bar {
        width: 95%;
        padding: 0.75rem 1rem;
        top: 1rem;
    }

    .nav-logo {
        height: 1.75rem;
    }

    .nav-logo-img {
        height: 28px;
        max-width: 60px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .logo-img {
        height: 60px;
        max-width: 90px;
    }

    .heading {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .subheading {
        font-size: 1.1rem;
    }

    .hero-subheadline {
        font-size: 1.15rem;
    }

    .text-large {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-ghost {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .highlight-box {
        padding: 1.5rem;
    }

    .faq-item {
        padding-left: 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .site-footer {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }

    .hero-text {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }

    .container {
        padding: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus styles for keyboard navigation */
a:focus,
.btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

