/* Flowing Border Style - Website 164
   Theme: Golden #ca8a04
   Layout: Flowing neon border effects with animated lines
*/

:root {
    --primary-color: #ca8a04;
    --primary-dark: #a16207;
    --primary-light: #eab308;
    --accent-color: #facc15;
    --text-primary: #fefce8;
    --text-secondary: #fef08a;
    --bg-dark: #1a1408;
    --bg-light: #422006;
}

* {
    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(--bg-light) 50%, #1a1408 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Flowing Border Animation */
.flowing-border-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.flow-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
    animation: flowLine 8s linear infinite;
}

.flow-line:nth-child(1) { top: 20%; width: 100%; animation-delay: 0s; }
.flow-line:nth-child(2) { top: 40%; width: 80%; left: 10%; animation-delay: 2s; }
.flow-line:nth-child(3) { top: 60%; width: 60%; left: 40%; animation-delay: 4s; }
.flow-line:nth-child(4) { top: 80%; width: 100%; animation-delay: 6s; }

@keyframes flowLine {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Vertical flowing lines */
.flow-line-v {
    position: absolute;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    width: 2px;
    animation: flowLineV 6s linear infinite;
}

.flow-line-v:nth-child(5) { left: 15%; height: 100%; animation-delay: 0s; }
.flow-line-v:nth-child(6) { left: 50%; height: 100%; animation-delay: 3s; }
.flow-line-v:nth-child(7) { left: 85%; height: 100%; animation-delay: 1s; }

@keyframes flowLineV {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Navigation */
.flow-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 20, 8, 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: 1px solid rgba(202, 138, 4, 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;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

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

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(202, 138, 4, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
    border: 1px solid rgba(202, 138, 4, 0.5);
}

/* 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;
}

/* 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: 400px;
    height: 400px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: borderFlow 4s linear infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: borderFlow 4s linear infinite 2s;
}

@keyframes borderFlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.5; }
}

.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;
}

.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: 4px;
    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: #1a1408;
    box-shadow: 0 4px 20px rgba(202, 138, 4, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(202, 138, 4, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(202, 138, 4, 0.1);
    box-shadow: 0 0 30px rgba(202, 138, 4, 0.3);
}

/* 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::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 2px;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

.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;
}

.flow-card {
    background: rgba(66, 32, 6, 0.6);
    border-radius: 8px;
    padding: 35px 30px;
    border: 1px solid rgba(202, 138, 4, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    transition: left 0.5s ease;
}

.flow-card:hover::before {
    left: 100%;
}

.flow-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(202, 138, 4, 0.2);
}

.flow-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

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

.flow-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(26, 20, 8, 0.6);
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(66, 32, 6, 0.6);
    border-left-width: 6px;
    transform: translateX(5px);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(202, 138, 4, 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(26, 20, 8, 0.8);
    padding: 60px 20px;
    border-top: 1px solid rgba(202, 138, 4, 0.3);
    border-bottom: 1px solid rgba(202, 138, 4, 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;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(202, 138, 4, 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(66, 32, 6, 0.5);
    border-radius: 8px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.process-step::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-light);
    transition: width 0.5s ease;
}

.process-step:hover::before {
    width: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.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(202, 138, 4, 0.4);
}

.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(26, 20, 8, 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(66, 32, 6, 0.6);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(202, 138, 4, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent rgba(202, 138, 4, 0.3) transparent;
    transition: all 0.3s ease;
}

.contact-card:hover::after {
    border-width: 0 0 50px 50px;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(202, 138, 4, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.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 */
.flow-footer {
    background: rgba(26, 20, 8, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.flow-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(26, 20, 8, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 20px;
    }

    .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;
    }
}

/* Page Header */
.page-header {
    padding: 80px 20px 50px;
    text-align: center;
    background: rgba(26, 20, 8, 0.6);
    border-bottom: 1px solid rgba(202, 138, 4, 0.3);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.15: var(--textrem;
    color-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;
}

/* Flow Box */
.flow-box {
    width: 280px;
    height: 280px;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    position: relative;
    animation: boxFlow 3s ease-in-out infinite;
}

.flow-box::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    animation: boxFlow 3s ease-in-out infinite 1.5s;
}

@keyframes boxFlow {
    0%, 100% { box-shadow: 0 0 20px rgba(202, 138, 4, 0.3); }
    50% { box-shadow: 0 0 40px rgba(234, 179, 8, 0.6); }
}

/* Info Box */
.info-box {
    background: rgba(202, 138, 4, 0.1);
    border: 1px solid rgba(202, 138, 4, 0.4);
    padding: 20px 25px;
    border-radius: 8px;
    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(202, 138, 4, 0.2);
}

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

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