﻿/*
Theme Name: CollabWithAscend
Theme URI: https://collabwithascend.com
Author: Ascend
Author URI: https://collabwithascend.com
Description: A custom one-page WordPress theme for CollabWithAscend, a creator partnership agency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: collabwithascend
*/
:root {
            /* Color Palette - Updated to Glossy Dark */
            --bg: #030303;
            --surface: rgba(255, 255, 255, 0.03);
            --surface-accent: rgba(255, 255, 255, 0.08);
            --primary: #ffffff; 
            --on-primary: #000000;
            --accent-glow: rgba(255, 255, 255, 0.1);
            --prismatic: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.2) 100%);
            --text-main: #ffffff;
            --text-secondary: #999999;
            --border: rgba(255, 255, 255, 0.1);
            --border-hover: rgba(255, 255, 255, 0.3);
            
            /* Spacing */
            --container: 1280px;
            --section-gap: 160px;
            --card-radius: 12px;
            
            /* Transitions */
            --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes grain {
            0%, 100% { transform:translate(0, 0) }
            10% { transform:translate(-5%, -10%) }
            20% { transform:translate(-15%, 5%) }
            30% { transform:translate(7%, -25%) }
            40% { transform:translate(-5%, 25%) }
            50% { transform:translate(-15%, 10%) }
            60% { transform:translate(15%, 0) }
            70% { transform:translate(0, 15%) }
            80% { transform:translate(3%, 35%) }
            90% { transform:translate(-10%, 10%) }
        }

        .grain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/5c/Image_noise_256.png");
            background-repeat: repeat;
            opacity: 0.04;
            pointer-events: none;
            z-index: 9999;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body::-webkit-scrollbar {
            width: 8px;
        }

        body::-webkit-scrollbar-track {
            background: #000;
        }

        body::-webkit-scrollbar-thumb {
            background: #222;
            border-radius: 4px;
        }

        body::-webkit-scrollbar-thumb:hover {
            background: #444;
        }

        html, body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        body {
            background-color: var(--bg);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4 {
            font-family: 'Epilogue', sans-serif;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.1;
            overflow-wrap: break-word;
            word-wrap: break-word;
            hyphens: auto;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        /* Utility Classes */
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 40px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            padding: 18px 32px;
            font-family: 'Epilogue', sans-serif;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            border: none;
            transition: var(--transition);
            white-space: nowrap;
        }

        .btn-primary {
            background-color: var(--primary);
            color: var(--on-primary);
        }

        .btn-primary.nav-cta {
            display: inline-flex;
        }

        @media (max-width: 768px) {
            .btn-primary.nav-cta {
                display: none;
            }
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-main);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            background: rgba(255,255,255,0.05);
        }

        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }

        .section-tag {
            font-family: 'Inter', sans-serif;
            color: var(--primary);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-bottom: 24px;
            display: block;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 24px 0;
            transition: var(--transition);
        }

        nav.scrolled {
            padding: 16px 0;
            background: rgba(0, 0, 0, 0.95);
        }

        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(0.5deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        .logo-box {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
        }

        .logo-box::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            filter: blur(20px);
            z-index: -1;
        }

        .logo-img {
            height: 120px;
            width: auto;
            display: block;
            transition: var(--transition);
            animation: float 6s ease-in-out infinite;
        }

        .logo-img:hover {
            transform: scale(1.05);
        }

        .logo-text {
            font-size: 24px;
            font-weight: 900;
            letter-spacing: -0.05em;
            color: #fff;
            text-transform: uppercase;
        }

        .nav-links {
            display: flex;
            gap: 48px;
        }

        .nav-links a {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

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

        /* Hero */
        .hero {
            padding-top: 240px;
            padding-bottom: 120px;
            position: relative;
            overflow: hidden;
        }

        .hero h1 {
            font-size: clamp(48px, 8vw, 110px);
            margin-bottom: 32px;
        }

        .hero p {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 600px;
            margin-bottom: 48px;
        }

        .hero-btns {
            display: flex;
            gap: 20px;
        }

        /* Social Proof */
        .social-proof {
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 80px 0;
            background: rgba(255, 255, 255, 0.01);
            position: relative;
            overflow: hidden;
        }

        .social-proof::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
            animation: shine 10s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .logo-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 48px;
            align-items: center;
            opacity: 0.5;
        }

        .logo-item {
            font-family: 'Epilogue', sans-serif;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            transition: var(--transition);
            cursor: default;
        }

        .logo-item:hover {
            opacity: 1 !important;
            filter: grayscale(0);
        }

        /* What We Do */
        .services {
            padding: var(--section-gap) 0;
            position: relative;
        }

        .services::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 1000px;
            height: 1000px;
            background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
            pointer-events: none;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .service-card {
            background: var(--surface);
            padding: 48px;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--prismatic);
            opacity: 0;
            transition: var(--transition);
            z-index: 0;
        }

        .service-card:hover {
            transform: translateY(-12px) scale(1.02);
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255,255,255,0.05);
        }

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

        .service-card * {
            position: relative;
            z-index: 1;
        }

        .service-icon {
            color: var(--primary);
            font-size: 40px;
            margin-bottom: 32px;
            opacity: 0.9;
        }

        .service-card h3 {
            font-size: 24px;
            margin-bottom: 16px;
        }

        .service-card p {
            color: var(--text-secondary);
            font-size: 15px;
        }

        /* Split Section */
        .split-section {
            padding: var(--section-gap) 0;
        }

        .split-section .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .split-image {
            width: 100%;
            aspect-ratio: 4/5;
            object-fit: cover;
            background: var(--surface-accent);
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            overflow: hidden;
            position: relative;
        }

        .split-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
        }

        .split-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.5) contrast(1.1);
            transition: var(--transition);
        }

        .split-image:hover img {
            filter: grayscale(0) contrast(1);
            transform: scale(1.05);
        }

        .split-content h2 {
            font-size: 56px;
            margin-bottom: 32px;
        }

        .process-list {
            margin: 40px 0;
        }

        .process-item {
            display: flex;
            gap: 24px;
            margin-bottom: 32px;
        }

        .process-num {
            font-family: 'Inter', sans-serif;
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            opacity: 1;
            min-width: 32px;
            text-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
        }

        .process-text h4 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .process-text p {
            color: var(--text-secondary);
            font-size: 15px;
        }

        /* Why Us */
        .why-us {
            padding: var(--section-gap) 0;
            background: var(--surface);
        }

        .why-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .why-card {
            padding: 32px;
            border-left: 1px solid var(--border);
            transition: var(--transition);
        }

        .why-card:hover {
            border-left-color: var(--primary);
            background: rgba(255,255,255,0.02);
        }

        /* FAQ */
        .faq {
            padding: var(--section-gap) 0;
        }

        .faq-list {
            max-width: 800px;
            margin: 64px auto 0;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }

        .faq-trigger {
            width: 100%;
            padding: 32px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            border: none;
            color: #fff;
            font-family: 'Epilogue', sans-serif;
            font-size: 18px;
            font-weight: 700;
            text-align: left;
            cursor: pointer;
            user-select: none;
        }

        .faq-icon {
            transition: var(--transition);
            opacity: 0.5;
        }

        .faq-content {
            max-height: 0;
            overflow: hidden;
            transition: var(--transition);
            color: var(--text-secondary);
            font-size: 16px;
            padding-right: 48px;
        }

        .faq-item.active .faq-content {
            max-height: 200px;
            padding-bottom: 32px;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
            opacity: 1;
        }

        .faq-trigger:hover .faq-icon {
            opacity: 1;
        }

        /* Contact */
        .contact {
            padding: var(--section-gap) 0;
            position: relative;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 120px;
            align-items: start;
        }

        .contact-info h2 {
            margin-bottom: 32px;
        }

        .contact-info p {
            color: var(--text-secondary);
            font-size: 18px;
            margin-bottom: 48px;
            max-width: 400px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .detail-item {
            display: flex;
            gap: 20px;
        }

        .detail-icon {
            color: var(--primary);
            font-size: 24px;
        }

        .detail-text h4 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .detail-text p {
            margin-bottom: 0;
            color: #fff;
            font-size: 16px;
        }

        .contact-form-wrapper {
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border);
            padding: 60px;
            border-radius: 2px;
            backdrop-filter: blur(20px);
        }

        .form-group {
            position: relative;
            margin-bottom: 40px;
        }

        .form-group input, 
        .form-group select, 
        .form-group textarea {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--border);
            padding: 12px 0;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            outline: none;
            transition: var(--transition);
        }

        .form-group label {
            position: absolute;
            top: 12px;
            left: 0;
            color: var(--text-secondary);
            font-family: 'Space Grotesk', sans-serif;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            pointer-events: none;
            transition: var(--transition);
        }

        .form-group input:focus + label,
        .form-group input:not(:placeholder-shown) + label,
        .form-group textarea:focus + label,
        .form-group textarea:not(:placeholder-shown) + label {
            top: -20px;
            color: var(--primary);
            font-size: 10px;
        }

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

        .form-group select {
            color-scheme: dark;
            background-color: var(--bg);
        }

        .form-group select option {
            background-color: #030303;
            color: #ffffff;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .success-state {
            text-align: center;
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .success-icon {
            font-size: 64px;
            color: var(--primary);
            margin-bottom: 24px;
        }

        @media (max-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 80px;
            }
            .contact-form-wrapper {
                padding: 40px;
            }
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

        /* Footer */
        footer {
            padding: 120px 0 60px;
            border-top: 1px solid var(--border);
        }

        .footer-logo-box {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .footer-logo-img {
            height: 80px;
            display: block;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            z-index: 2100;
        }

        .hero-btns {
            display: flex;
            gap: 16px;
            margin-top: 48px;
        }

        /* Animations */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }

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

        @media (max-width: 1024px) {
            .services-grid, .why-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .split-section .container, .contact-grid {
                grid-template-columns: 1fr;
                gap: 48px;
            }
            .split-image {
                aspect-ratio: 16/9;
                max-height: 300px;
            }
            .hero h1 {
                font-size: 64px;
            }
            h2 {
                font-size: 40px !important;
            }
        }

        @media (max-width: 768px) {
            :root {
                --section-gap: 80px;
            }
            .logo-img {
                height: 100px;
                animation: none;
            }
            .logo-text {
                font-size: 32px;
            }
            .footer-logo-img {
                height: 140px;
            }
            .hero h1 {
                font-size: 36px;
            }
            h2 {
                font-size: 28px !important;
            }
            .hero p {
                font-size: 16px;
            }
            .hero-btns {
                flex-direction: column;
                width: 100%;
            }
            .hero-btns .btn {
                width: 100%;
                justify-content: center;
            }
            .services-grid, .why-grid {
                grid-template-columns: 1fr;
            }
            .nav-links {
                display: none;
            }
            .menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 12px;
                margin-right: 4px;
            }
            .container {
                padding: 0 48px;
            }
            .split-content h2 {
                font-size: 28px;
            }
            .nav-inner {
                padding: 16px 0;
            }
            .logo-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
        }

        /* Mobile Menu Overlay */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg);
            z-index: 2000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 32px;
            opacity: 0;
            pointer-events: none;
            transition: var(--transition);
        }

        .mobile-menu.active {
            opacity: 1;
            pointer-events: all;
        }

        .mobile-menu a:not(.btn) {
            font-family: 'Epilogue', sans-serif;
            font-size: 32px;
            font-weight: 800;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: -0.04em;
        }
