/*
 * Domain Rental Theme - Custom Styles
 * Modern glassmorphism and neumorphism design
 */

/* ===== GLOBAL STYLES ===== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --neumorphism-light: #ffffff;
    --neumorphism-dark: #d1d9e6;
    --neumorphism-shadow-light: 20px 20px 60px #bebebe;
    --neumorphism-shadow-dark: -20px -20px 60px #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* ===== NEUMORPHISM EFFECTS ===== */
.neuro-card {
    background: #f0f0f3;
    border-radius: 20px;
    box-shadow: var(--neumorphism-shadow-light), var(--neumorphism-shadow-dark);
    transition: var(--transition-smooth);
}

.neuro-card:hover {
    box-shadow: inset 20px 20px 60px #bebebe, inset -20px -20px 60px #ffffff;
}

.neuro-button {
    background: linear-gradient(145deg, #f0f0f3, #cacaca);
    border: none;
    border-radius: 15px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.neuro-button:hover {
    box-shadow: inset 20px 20px 60px #bebebe, inset -20px -20px 60px #ffffff;
}

.neuro-button:active {
    box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER STYLES ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ===== NAVIGATION STYLES ===== */
.wp-block-navigation a {
    position: relative;
    transition: var(--transition-smooth);
}

.wp-block-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.wp-block-navigation a:hover::after {
    width: 100%;
}

/* ===== BUTTON STYLES ===== */
.wp-block-button__link {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wp-block-button__link:hover::before {
    left: 100%;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT FORM STYLES ===== */
.domain-contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #64748b;
    font-size: 1rem;
    transition: var(--transition-smooth);
    pointer-events: none;
    background: #ffffff;
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: #6366f1;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.checkbox-group label {
    position: static;
    background: none;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

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

    .wp-block-columns {
        flex-direction: column;
    }

    .glass-card {
        margin: 0 1rem;
    }

    .neuro-card {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.875rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    transform: translateY(-5px);
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

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

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== MICRO INTERACTIONS ===== */
.wp-block-group:hover .glass-card {
    transform: translateY(-3px);
}

.wp-block-columns .wp-block-column:hover {
    transform: translateY(-2px);
    transition: var(--transition-smooth);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== DYNAMIC CONTENT STYLES ===== */
.domain-rental-landing {
    overflow-x: hidden;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 2rem;
    color: white;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.domain-name {
    font-weight: 600;
    color: #fff;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #6366f1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
}

.hero-card li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.scroll-indicator {
    text-align: center;
    margin-top: 3rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator p {
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator p:hover {
    opacity: 0.9;
    transform: translateY(-5px);
}

/* Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

/* Domain Value Section */
.domain-value-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

.proven-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.results-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #6366f1;
    transition: all 0.3s ease;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Animation for metric updates */
.metric-updated {
    transform: scale(1.05);
    color: #10b981 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .proven-results {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== SPLIT LAYOUT STYLES ===== */
.landing-split-layout .split-container {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
}

.landing-split-layout .split-left {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-split-layout .split-right {
    min-height: 100vh;
    overflow-y: auto;
}

/* Scrollbar styling for split layout */
.landing-split-layout .split-left::-webkit-scrollbar,
.landing-split-layout .split-right::-webkit-scrollbar {
    width: 8px;
}

.landing-split-layout .split-left::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.landing-split-layout .split-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.landing-split-layout .split-left::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive split layout */
@media (max-width: 1024px) {
    .landing-split-layout .split-container {
        grid-template-columns: 1fr;
    }

    .landing-split-layout .split-left {
        position: relative;
        height: auto;
        min-height: 100vh;
    }

    .landing-split-layout .split-right {
        min-height: auto;
    }
}

/* ===== ROI SECTION STYLES ===== */
.roi-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .roi-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== LAYOUT-SPECIFIC STYLES ===== */

/* Minimal Layout */
.landing-minimal {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.landing-minimal .glass-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.7);
}

/* Sales Layout */
.landing-sales .wp-block-group {
    transition: transform 0.3s ease;
}

.landing-sales .wp-block-group:hover {
    transform: translateY(-2px);
}

/* Professional Layout */
.landing-professional {
    background: #ffffff;
}

.landing-professional .wp-block-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-professional .wp-block-group:last-child {
    border-bottom: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .glass-effect,
    .glass-card,
    .neuro-card {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .submit-btn {
        background: #333 !important;
        color: white !important;
    }

    /* Hide split layout on print */
    .landing-split-layout .split-container {
        display: block !important;
    }

    .landing-split-layout .split-left,
    .landing-split-layout .split-right {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }
}
