/* BlueCanvas Premium Traffic - index2.php specific styles */

:root {
    --bg-dark: #030611;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --primary: #4f8df0;
    --accent: #6be2ff;

    /* Social Brand Colors */
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --tiktok-black: #000000;
    --tiktok-cyan: #00f2ea;
    --tiktok-magenta: #ff0050;
    --youtube-red: #ff0000;
    --twitter-black: #000000;
    --facebook-blue: #1877f2;
    --telegram-blue: #0088cc;
    --threads-black: #000000;

    --section-spacing: 120px;
    --container-width: 1200px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background-color: #050a18;
    /* Fallback color */
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, #6be2ff 0%, #4f8df0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4f8df0, #6be2ff);
    color: #000;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 141, 240, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Services Grid */
.services-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.service-content {
    flex: 1;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-items li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.service-link {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* GA4 Special Style */
.card-ga4 {
    background: linear-gradient(135deg, rgba(79, 141, 240, 0.1), rgba(107, 226, 255, 0.05));
    border: 1px solid rgba(79, 141, 240, 0.3);
}

.card-ga4 .service-icon {
    background: linear-gradient(135deg, #4f8df0, #6be2ff);
    border-radius: 20px;
    padding: 15px;
}

.card-ga4 .service-icon i {
    font-size: 3rem;
    color: white;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 24px;
    }

    .service-items {
        justify-content: center;
        margin-bottom: 24px;
    }

    .service-link {
        width: 100%;
        justify-content: center;
    }
}

/* Detailed Content Sections */
.detail-section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.detail-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.detail-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(107, 226, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 226, 255, 0.1);
}

.detail-card:hover .detail-icon {
    background: rgba(107, 226, 255, 0.1);
    transform: scale(1.1);
}

.detail-card:hover .detail-title {
    color: var(--accent);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.detail-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
}

/* Process Section */
.process-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(79, 141, 240, 0.05) 50%, var(--bg-dark) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        var(--accent) 50%, 
        rgba(255, 255, 255, 0.02) 100%);
    background-size: 200% 100%;
    transform: translateY(-50%);
    z-index: 0;
    animation: flowLine 2s linear infinite;
}

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

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    z-index: 1;
}

.process-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(107, 226, 255, 0.2);
    box-shadow: 0 10px 30px rgba(107, 226, 255, 0.1);
}

.process-step:hover .step-icon {
    background: rgba(107, 226, 255, 0.1);
    border-color: var(--accent);
}

.step-number {
    display: none;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Us Section */
.why-us-section {
    padding: var(--section-spacing) 0;
}

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

.feature-item {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon-lg {
    font-size: 3rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #4f8df0, #6be2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-spacing) 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #02040a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }

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

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Hero Grid Effect */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Allow clicks to pass through to buttons */
}

.grid-cell {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.grid-cell.active {
    background: rgba(79, 141, 240, 0.1);
    border-color: rgba(107, 226, 255, 0.3);
    box-shadow: 0 0 15px rgba(79, 141, 240, 0.2);
}
/* Force center alignment for section eyebrows */
.section-eyebrow {
    display: flex !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1rem !important;
    justify-content: center !important;
}
