/* Pulse Grid Style - Website 163
   Theme: Purple-pink #be185d
   Layout: Pulsing grid with glowing connections and dynamic effects
*/

:root {
    --primary-color: #be185d;
    --primary-dark: #9d174d;
    --primary-light: #ec4899;
    --accent-color: #f472b6;
    --text-primary: #fdf2f8;
    --text-secondary: #fbcfe8;
    --bg-dark: #1f0a18;
    --bg-light: #4a0a2e;
    --glow-color: rgba(190, 24, 93, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-light) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Pulsing Grid Background */
.pulse-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(190, 24, 93, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(190, 24, 93, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

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

/* Glowing Grid Points */
.grid-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
    animation: pointPulse 2s ease-in-out infinite;
}

.grid-point:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.grid-point:nth-child(2) { top: 25%; left: 40%; animation-delay: 0.5s; }
.grid-point:nth-child(3) { top: 15%; left: 70%; animation-delay: 1s; }
.grid-point:nth-child(4) { top: 45%; left: 25%; animation-delay: 1.5s; }
.grid-point:nth-child(5) { top: 35%; left: 55%; animation-delay: 0.3s; }
.grid-point:nth-child(6) { top: 55%; left: 80%; animation-delay: 0.8s; }
.grid-point:nth-child(7) { top: 70%; left: 35%; animation-delay: 1.3s; }
.grid-point:nth-child(8) { top: 65%; left: 65%; animation-delay: 1.8s; }
.grid-point:nth-child(9) { top: 80%; left: 50%; animation-delay: 0.2s; }
.grid-point:nth-child(10) { top: 85%; left: 15%; animation-delay: 0.7s; }

@keyframes pointPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--glow-color), 0 0 80px var(--glow-color);
    }
}

/* Connecting Lines */
.grid-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform-origin: left center;
    animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Navigation */
.pulse-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(31, 10, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(190, 24, 93, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
    background: rgba(190, 24, 93, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color);
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.2), transparent 70%);
    border-radius: 50%;
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(190, 24, 93, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 40px rgba(190, 24, 93, 0.5); }
    50% { text-shadow: 0 0 60px rgba(236, 72, 153, 0.8); }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 25px rgba(190, 24, 93, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(190, 24, 93, 0.7);
}

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

.btn-secondary:hover {
    background: rgba(190, 24, 93, 0.2);
    box-shadow: 0 0 30px rgba(190, 24, 93, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 2px;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { width: 100px; opacity: 1; }
    50% { width: 150px; opacity: 0.7; }
}

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

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pulse-card {
    background: rgba(74, 10, 46, 0.6);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(190, 24, 93, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pulse-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pulse-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.3);
}

.pulse-card:hover::before {
    opacity: 1;
}

.pulse-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.pulse-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(31, 10, 24, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(190, 24, 93, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    background: rgba(74, 10, 46, 0.6);
    transform: translateX(10px);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(190, 24, 93, 0.4);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: rgba(31, 10, 24, 0.8);
    padding: 60px 20px;
    border-top: 1px solid rgba(190, 24, 93, 0.3);
    border-bottom: 1px solid rgba(190, 24, 93, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 2px;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 2px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(74, 10, 46, 0.5);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(190, 24, 93, 0.2);
}

.process-step:hover {
    background: rgba(74, 10, 46, 0.8);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(190, 24, 93, 0.5);
    animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(190, 24, 93, 0.5); }
    50% { box-shadow: 0 0 50px rgba(236, 72, 153, 0.8); }
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: rgba(31, 10, 24, 0.6);
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(74, 10, 46, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(190, 24, 93, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    animation: iconPulse 2s ease-in-out infinite;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--primary-light);
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Footer */
.pulse-footer {
    background: rgba(31, 10, 24, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.pulse-footer p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(31, 10, 24, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .features-list {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .stat-item::before,
    .stat-item::after {
        display: none;
    }
}

/* Page Header */
.page-header {
    padding: 80px 20px 50px;
    text-align: center;
    background: rgba(31, 10, 24, 0.6);
    border-bottom: 1px solid rgba(190, 24, 93, 0.3);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(190, 24, 93, 0.5);
}

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

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.column-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.column-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.column-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid Box */
.grid-box {
    width: 280px;
    height: 280px;
    background: rgba(74, 10, 46, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    animation: boxGlow 3s ease-in-out infinite;
}

.grid-box::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    opacity: 0.5;
}

@keyframes boxGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(190, 24, 93, 0.3); }
    50% { box-shadow: 0 0 60px rgba(236, 72, 153, 0.6); }
}

.grid-cell {
    background: rgba(190, 24, 93, 0.3);
    border-radius: 4px;
    animation: cellPulse 2s ease-in-out infinite;
}

.grid-cell:nth-child(2n) {
    animation-delay: 0.5s;
}

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

/* Info Box */
.info-box {
    background: rgba(190, 24, 93, 0.15);
    border: 1px solid rgba(190, 24, 93, 0.4);
    padding: 20px 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.info-box h4 {
    color: var(--primary-light);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.info-box p {
    margin: 0;
    color: var(--text-secondary);
}

/* List with icons */
.icon-list {
    list-style: none;
}

.icon-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(190, 24, 93, 0.2);
}

.icon-list li:last-child {
    border-bottom: none;
}

.icon-list li::before {
    content: '→';
    color: var(--primary-light);
    font-weight: bold;
}
