/* DNX-One Template - Modern Dark Green Design */

/* Dark Green Gradient Background */
.dnx-gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, 
        oklch(35% 0.08 166) 0%, 
        oklch(28% 0.10 170) 25%,
        oklch(32% 0.06 175) 50%,
        oklch(25% 0.08 165) 75%,
        oklch(20% 0.10 166) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Page Container */
.page-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    color: #1a1a1a;
    font-family: var(--font-poppins);
    position: relative;
    background: linear-gradient(135deg, 
        oklch(35% 0.08 166) 0%, 
        oklch(28% 0.10 170) 25%,
        oklch(32% 0.06 175) 50%,
        oklch(25% 0.08 165) 75%,
        oklch(20% 0.10 166) 100%);
}

/* Hero Wide Layout */
.hero-wide {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    z-index: 2;
}

.hero-wide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem;
    gap: 2rem;
    min-height: 70vh;
    text-align: center;
}

.hero-wide-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
    text-align: center;
    color: white;
}

.hero-wide-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    color: white;
}



/* Bottom Section (renamed from white-section) */
.bottom-section {
    background: #ffffff;
    color: #1a1a1a;
    width: 100vw;
    margin: 0;
    padding: 1rem 0 0.5rem 0;
    position: relative;
    z-index: 3;
    min-height: 200px;
}

/* Content Grid */
.content-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem 1.5rem;
    gap: 2rem; /* Reduce vertical gap between sections */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: center;
    text-align: center;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Domain Name and Tagline */
.domain-name {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #f8fafc, #e2e8f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    letter-spacing: -0.03em;
    line-height: 1.1;
    min-height: 65px;
}

.domain-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Price Section */
.price-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-top: 2rem;
}

.price-label {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.price-value {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #f0f9ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 200px;
    align-self: flex-start;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.buy-button:active {
    transform: translateY(-1px);
}

/* Interactive Section */
.interactive-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
    margin: 0;
    padding: 0 1rem;
}

.interactive-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 0;
}

/* Features and Partners Showcase */
.showcase-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 1rem auto;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem 2rem 1rem 2rem;
    position: relative;
    z-index: 2;
}

.features-col {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.partners-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Smaller Features */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    align-items: center;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
}

.features .feature {
    color: #1a1a1a;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.1rem 0.05rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.features .icon {
    stroke: var(--green-600, #027959);
    width: 0.9em;
    height: 0.9em;
    flex-shrink: 0;
}

/* Partners Grid */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    overflow-x: visible;
}

.partner-logo-modern {
    max-width: 100px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(0.2) brightness(1.1);
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0;
}

.partner-logo-modern:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05) translateY(-1px);
}

.footer-wrapper {
    background: #ffffff;
    color: #1a1a1a;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    width: 100%;
    max-width: none;
}

/* Override footer layout for better alignment on large screens */
.footer-wrapper .footer-container {
    justify-content: space-between;
    padding: 0 2rem 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-wrapper .footer-logo {
    margin-left: 0;
}

.footer-wrapper .footer-info {
    margin-right: 0;
}

/* Ensure all footer text uses the correct color */
.footer-wrapper,
.footer-wrapper * {
    color: #1a1a1a !important;
}

.footer-wrapper a {
    color: #1a1a1a !important;
    text-decoration: none;
}

.footer-wrapper a:hover {
    text-decoration: underline;
}

.toggle-container {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
}

.toggle-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.interactive-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 0; /* Remove extra space below interactive card */
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.card-content {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.card-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Partners and Footer Wrappers */
.partners-wrapper,
.footer-wrapper {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.partners-wrapper {
    padding: 0.5rem 1.5rem;
    text-align: center;
}

.footer-wrapper {
    padding: 0.5rem 1.5rem;
    text-align: center;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Responsive Styles */
@media (min-width: 1200px) {    
    .hero-wide-inner {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 7rem 2rem 1.5rem 2rem;
        gap: 3rem;
    }      
    
    .hero-wide-left {
        flex: 0 0 35%;
        max-width: 35%;
        align-items: flex-start;
        text-align: left;
        min-width: 300px;
        color: white;
        padding-left: 2.5rem;
        padding-top: 1rem;
    }

    .hero-wide-right {
        flex: 0 0 65%;
        max-width: 65%;
        align-items: flex-end;
        min-width: 400px;
        margin: 0;
        color: white;
    }

    .showcase-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 3rem;
        padding: 1.5rem 4rem 1rem 2rem;
    }

    .features-col {
        flex: 0 0 40%;
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 280px;
        padding-bottom: 2px;
    }

    .features {
        justify-content: flex-start;
    }

    .partners-col {
        flex: 0 0 60%;
        align-items: flex-start;
        justify-content: flex-end;
        min-width: 350px;
    }    .partners-grid {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}

@media (max-width: 1400px) {
    .hero-wide-inner {
        gap: 2rem;
        padding: 2.5rem 2rem 1.5rem 2rem;
    }
}

@media (max-width: 1200px) {
    .hero-wide-inner {
        max-width: 100%;
        gap: 2rem;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }

    .showcase-row {
        max-width: 100%;
        padding: 1.5rem 1.5rem;
        gap: 2rem;
    }

    .footer-wrapper .footer-container {
        padding: 0 1.5rem 0 1.5rem;
    }
}

@media (max-width: 900px) {
    .hero-wide-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        max-width: 100vw;
        min-height: auto;
    }
    .hero-wide-left, .hero-wide-right {
        max-width: 100%;
        flex: 1 1 0;
        min-width: 0;
    }    .hero-wide-left {
        align-items: center;
        text-align: center;
        color: white;
    }
    .price-section {
        text-align: center;
        align-items: center;
    }
    .buy-button {
        align-self: center;
    }    
    
    .interactive-section {
        width: 100%;
        max-width: none;
        padding: 0 1.5rem;
    }

    .showcase-row {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .features-col, .partners-col {
        justify-content: center;
        min-width: 0;
    }

    .features, .partners-grid {
        justify-content: center;
    }

    .partners-grid {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .footer-wrapper .footer-container {
        padding: 0 1rem 0 1rem;
    }
}

@media (max-width: 600px) {
    .hero-wide-inner {
        padding: 1.5rem 1rem 1rem 1rem;
        gap: 2rem;
    }
    .domain-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .price-section {
        margin-top: 1rem;
    }
    .buy-button {
        width: 100%;
        max-width: none;
        justify-content: center;
        padding: 1rem 2rem;
    }
    .interactive-card {
        padding: 1.5rem;
    }    .showcase-row {
        padding: 1rem 0.5rem;
    }

    .features {
        gap: 0.3rem 0.6rem;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .features .feature {
        font-size: 0.85rem;
        width: 100%;
    }

    .features .icon {
        width: 0.8em;
        height: 0.8em;
    }

    .partners-grid {
        gap: 1rem;
    }

    .partner-logo-modern {
        max-width: 80px;
        max-height: 30px;
    }

    .footer-wrapper {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }

    .footer-wrapper .footer-container {
        padding: 0 0.5rem 0 0.5rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .dnx-gradient-background {
        background: linear-gradient(135deg, 
            oklch(25% 0.06 166) 0%, 
            oklch(18% 0.08 170) 25%,
            oklch(22% 0.04 175) 50%,
            oklch(15% 0.06 165) 75%,
            oklch(12% 0.08 166) 100%);
    }
    
    .interactive-card,
    .toggle-container {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .buy-button {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .toggle-btn.active {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dnx-gradient-background {
        animation: none;
    }
    
    .buy-button::before {
        display: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus styles for accessibility */
.buy-button:focus,
.toggle-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .interactive-card,
    .toggle-container,
    .buy-button {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.8);
    }
    
    .domain-name,
    .price-value {
        -webkit-text-fill-color: white;
        background: none;
    }
}