/* pencloser.com - Enterprise Data Privacy */
/* Colors: #F5F7FA, #FFFFFF, #1B2A4A, #EDF0F4, #C4A35A, #E0E4E8, #4A5568 */
/* Fonts: DM Sans (400,500,700), DM Mono (400) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Top Gold Accent Line */
#top-accent-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #C4A35A;
    z-index: 1000;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 3px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #EDF0F4;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#main-nav.visible {
    opacity: 1;
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: #C4A35A;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #4A5568;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1B2A4A;
}

.nav-cta {
    background: #1B2A4A;
    color: #FFFFFF !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
    background: #C4A35A;
    color: #FFFFFF !important;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding-top: 67px;
}

.hero-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 0 0 55%;
    max-width: 55%;
    opacity: 0;
    transform: translateY(12px);
}

.hero-content.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.hero-headline {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1B2A4A;
    margin-bottom: 20px;
}

.gold-accent {
    color: #C4A35A;
}

.hero-body {
    font-size: 18px;
    color: #4A5568;
    margin-bottom: 32px;
    max-width: 480px;
    opacity: 0;
}

.hero-body.animate {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

.hero-illustration {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.geo-shape {
    opacity: 0;
}

.geo-shape.animate {
    transition: opacity 0.3s ease-out;
}

/* Grid alignment markers */
.grid-marker {
    position: absolute;
    color: #E0E4E8;
    font-family: 'DM Mono', monospace;
    font-size: 8px;
    line-height: 1;
    pointer-events: none;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background: #C4A35A;
    color: #FFFFFF;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    letter-spacing: -0.01em;
    opacity: 0;
}

.btn-primary.animate {
    opacity: 1;
    transition: opacity 0.3s ease-out, background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: #b8953e;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background: transparent;
    color: #1B2A4A;
    padding: 14px 32px;
    border: 1.5px solid #E0E4E8;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    letter-spacing: -0.01em;
}

.btn-secondary:hover {
    border-color: #1B2A4A;
    background: #F5F7FA;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Sections */
.section {
    padding: 96px 0;
}

.section-alt {
    background: #F5F7FA;
}

.section-navy {
    background: #1B2A4A;
}

.section-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.02em;
    color: #1B2A4A;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: #4A5568;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: #FFFFFF;
    padding: 40px 32px;
    border: 1px solid #E0E4E8;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
}

/* Architectural corner decorations */
.feature-corner {
    position: absolute;
    width: 12px;
    height: 12px;
}

.feature-corner::before,
.feature-corner::after {
    content: '';
    position: absolute;
    background: #C4A35A;
}

.feature-corner.tl { top: -1px; left: -1px; }
.feature-corner.tl::before { top: 0; left: 0; width: 12px; height: 1.5px; }
.feature-corner.tl::after { top: 0; left: 0; width: 1.5px; height: 12px; }

.feature-corner.tr { top: -1px; right: -1px; }
.feature-corner.tr::before { top: 0; right: 0; width: 12px; height: 1.5px; }
.feature-corner.tr::after { top: 0; right: 0; width: 1.5px; height: 12px; }

.feature-corner.bl { bottom: -1px; left: -1px; }
.feature-corner.bl::before { bottom: 0; left: 0; width: 12px; height: 1.5px; }
.feature-corner.bl::after { bottom: 0; left: 0; width: 1.5px; height: 12px; }

.feature-corner.br { bottom: -1px; right: -1px; }
.feature-corner.br::before { bottom: 0; right: 0; width: 12px; height: 1.5px; }
.feature-corner.br::after { bottom: 0; right: 0; width: 1.5px; height: 12px; }

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

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

.feature-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 15px;
    color: #4A5568;
    margin-bottom: 20px;
}

.feature-metric {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    color: #C4A35A;
}

.metric-label {
    color: #4A5568;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
}

/* Steps Grid */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: #C4A35A;
    display: block;
    margin-bottom: 16px;
}

.step-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 15px;
    color: #4A5568;
}

.step-divider {
    display: flex;
    align-items: center;
    padding-top: 32px;
    flex-shrink: 0;
}

.step-divider svg {
    width: 60px;
    height: 2px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 48px;
    color: #C4A35A;
    letter-spacing: -0.02em;
    display: inline;
}

.stat-suffix {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 48px;
    color: #C4A35A;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #E0E4E8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: #FFFFFF;
    padding: 40px 32px;
    border: 1px solid #E0E4E8;
    border-radius: 4px;
    text-align: center;
}

.pricing-featured {
    border-color: #C4A35A;
    box-shadow: 0 8px 32px rgba(196, 163, 90, 0.12);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #C4A35A;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 2px;
}

.pricing-tier {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: #4A5568;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.price-currency {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #1B2A4A;
    vertical-align: top;
}

.price-amount {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 40px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
}

.price-period {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4A5568;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    font-size: 14px;
    color: #4A5568;
    padding: 8px 0;
    border-bottom: 1px solid #EDF0F4;
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border: 1.5px solid #C4A35A;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #1B2A4A;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: #4A5568;
    margin-bottom: 32px;
}

.contact-detail {
    margin-bottom: 16px;
}

.contact-label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #C4A35A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.contact-value {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #1B2A4A;
}

/* Contact Form */
.contact-form {
    background: #F5F7FA;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid #E0E4E8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #1B2A4A;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #1B2A4A;
    background: #FFFFFF;
    border: 1px solid #E0E4E8;
    border-radius: 4px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C4A35A;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
#main-footer {
    background: #1B2A4A;
    padding: 40px 0;
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
}

.footer-copy {
    font-size: 13px;
    color: #E0E4E8;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #E0E4E8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #C4A35A;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-body {
        max-width: 100%;
    }

    .hero-illustration {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-divider {
        transform: rotate(90deg);
        padding-top: 0;
        margin: 16px 0;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}
