/* Import base styles */
@import url('styles.css?v=3.0');

/* DNS Specific Overrides and Additions */

/* Hero Section - DNS Specific */
.hero-badge {
    display: inline-block;
    background: rgba(79, 195, 247, 0.2);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.5;
}

.hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.7;
}

.shield-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container svg {
    filter: drop-shadow(0 0 40px rgba(79, 195, 247, 0.5));
    max-width: 100%;
    height: auto;
}

/* Features Grid */
.features {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: clamp(14px, 1.4vw, 14px);
    line-height: 1.6;
}

/* DNS Servers Section */
.dns-servers {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(16px, 1.8vw, 18px);
    margin-top: -40px;
    margin-bottom: 50px;
    line-height: 1.6;
}

.dns-single-card {
    max-width: 700px;
    margin: 0 auto 60px;
}

.dns-card-main {
    background: var(--bg-card);
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 0 40px rgba(79, 195, 247, 0.2);
    transition: var(--transition-smooth);
}

.dns-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(79, 195, 247, 0.3);
}

.dns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dns-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.dns-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(79, 195, 247, 0.2);
    color: var(--primary-blue);
}

.dns-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.dns-addresses {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.dns-address-item {
    margin-bottom: 16px;
}

.dns-address-item:last-child {
    margin-bottom: 0;
}

.dns-address-item label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dns-address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
}

.dns-address-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
    transition: var(--transition-smooth);
    padding: 4px;
}

.copy-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

.dns-features {
    list-style: none;
    padding: 0;
}

.dns-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.dns-features li::before {
    content: '';
    margin-right: 8px;
}

/* Pricing Section */
.pricing-section {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.pricing-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.pricing-plan {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.pricing-plan:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(79, 195, 247, 0.25);
}

.pricing-plan.popular {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.08), rgba(2, 136, 209, 0.08));
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-plan.popular:hover {
    transform: translateY(-8px) scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.plan-period {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.plan-save {
    font-size: 13px;
    color: #4ade80;
    font-weight: 600;
}

.pricing-icon {
    font-size: 56px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.price-from {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.4);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.pricing-feature {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(79, 195, 247, 0.05);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.pricing-feature:hover {
    background: rgba(79, 195, 247, 0.1);
    transform: translateX(5px);
}

/* Enterprise CTA */
.enterprise-cta {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(2, 136, 209, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
}

.enterprise-content h3 {
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.25;
}

.enterprise-content p {
    font-size: clamp(15px, 1.6vw, 16px);
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Setup Guide Section */
.setup-guide {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.setup-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.setup-content {
    max-width: 800px;
    margin: 0 auto;
}

.setup-tab {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.setup-tab.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.setup-tab h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.setup-steps {
    padding-left: 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.setup-steps li {
    margin-bottom: 12px;
    font-size: 15px;
}

.setup-steps strong {
    color: var(--text-primary);
    font-weight: 600;
}

.setup-steps code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-blue);
    font-size: 13px;
}

.setup-note {
    background: rgba(79, 195, 247, 0.1);
    border-left: 3px solid var(--primary-blue);
    padding: 16px;
    margin-top: 20px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 14px;
}

.setup-note strong {
    color: var(--text-primary);
}

.setup-note code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-blue);
    font-size: 13px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        gap: 40px;
    }

    .dns-single-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding: 120px 0 60px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .hero .container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-badge {
        display: inline-block;
        margin: 0 auto 14px;
    }

    .hero-title {
        font-size: 46px;
        word-wrap: break-word;
        line-height: 1.2;
        margin-bottom: 18px;
        letter-spacing: -0.015em;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 1.45;
        margin-bottom: 16px;
        opacity: 0.95;
        text-align: center;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 32px;
        opacity: 0.9;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 14px;
        padding: 0 20px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 15px 28px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 10px;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-card h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    .dns-card-main {
        padding: 40px 28px;
        width: 100%;
        box-sizing: border-box;
    }

    .dns-header h3 {
        font-size: 20px;
    }

    .dns-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .pricing-section {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .pricing-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .pricing-plan {
        padding: 28px 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-plan.popular {
        transform: scale(1);
    }

    .pricing-plan.popular:hover {
        transform: translateY(-8px) scale(1);
    }

    .plan-period {
        font-size: 17px;
    }

    .plan-price {
        font-size: 42px;
    }

    .plan-save {
        font-size: 12px;
    }

    .pricing-card {
        padding: 38px 28px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-icon {
        font-size: 50px;
        margin-bottom: 18px;
    }

    .pricing-card h3 {
        font-size: 26px;
    }

    .price-amount {
        font-size: 50px;
    }

    .pricing-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .pricing-feature {
        font-size: 14px;
        padding: 9px 18px;
    }

    .enterprise-cta {
        padding: 40px 28px;
        width: 100%;
        box-sizing: border-box;
    }

    .enterprise-content h3 {
        font-size: 30px;
        line-height: 1.25;
    }

    .enterprise-content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: rgba(26, 31, 58, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        border-left: 1px solid var(--border-color);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

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

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        text-align: left;
        border-radius: 8px;
        transition: var(--transition-smooth);
    }

    .nav-links a:hover {
        background: rgba(79, 195, 247, 0.1);
    }

    .nav-links .btn-secondary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 0 50px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .hero .container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 8px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 16px;
        display: inline-block;
        margin: 0 auto 12px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.2;
        margin-bottom: 16px;
        letter-spacing: -0.015em;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 14px;
        opacity: 0.95;
        text-align: center;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.55;
        opacity: 0.9;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
        line-height: 1.6;
    }

    .feature-card {
        padding: 26px 20px;
        width: 100%;
    }

    .feature-card h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .dns-card-main {
        padding: 32px 22px;
        border-radius: 14px;
        width: 100%;
    }

    .dns-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dns-header h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .dns-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .dns-address-box {
        padding: 12px 14px;
    }

    .dns-address-box code {
        font-size: 13px;
        word-break: break-all;
    }

    .dns-features li {
        font-size: 14px;
        padding: 6px 0;
        line-height: 1.5;
    }

    .pricing-title {
        font-size: 24px;
    }

    .pricing-plans {
        gap: 16px;
        margin: 24px 0;
    }

    .pricing-plan {
        padding: 24px 18px;
    }

    .plan-period {
        font-size: 16px;
    }

    .plan-price {
        font-size: 38px;
    }

    .plan-save {
        font-size: 11px;
    }

    .pricing-card {
        padding: 32px 22px;
        width: 100%;
    }

    .pricing-icon {
        font-size: 46px;
        margin-bottom: 16px;
    }

    .pricing-card h3 {
        font-size: 24px;
    }

    .price-from,
    .price-period {
        font-size: 16px;
    }

    .price-amount {
        font-size: 46px;
    }

    .pricing-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .pricing-feature {
        font-size: 14px;
        padding: 8px 16px;
    }

    .enterprise-cta {
        padding: 32px 22px;
        width: 100%;
    }

    .enterprise-content h3 {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .enterprise-content p {
        font-size: 15px;
        margin-bottom: 22px;
        line-height: 1.65;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 11px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        min-height: 100vh;
        padding: 90px 0 40px;
        display: flex;
        align-items: center;
    }

    .hero .container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 4px;
    }

    .hero-badge {
        display: inline-block;
        margin: 0 auto 10px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 14px;
        letter-spacing: -0.01em;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 12px;
        line-height: 1.4;
        opacity: 0.95;
        text-align: center;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
        line-height: 1.5;
        opacity: 0.9;
        text-align: center;
    }

    .section-title {
        font-size: 22px;
    }

    .dns-card-main {
        padding: 24px 14px;
    }

    .dns-header h3 {
        font-size: 17px;
    }

    .dns-description {
        font-size: 12px;
    }

    .dns-address-box code {
        font-size: 12px;
    }

    .dns-features li {
        font-size: 12px;
    }

    .pricing-title {
        font-size: 20px;
    }

    .pricing-plans {
        gap: 14px;
        margin: 20px 0;
    }

    .pricing-plan {
        padding: 20px 14px;
    }

    .plan-badge {
        font-size: 10px;
        padding: 3px 12px;
    }

    .plan-period {
        font-size: 15px;
    }

    .plan-price {
        font-size: 34px;
    }

    .plan-save {
        font-size: 10px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .pricing-icon {
        font-size: 42px;
        margin-bottom: 14px;
    }

    .pricing-card h3 {
        font-size: 20px;
    }

    .price-from,
    .price-period {
        font-size: 14px;
    }

    .price-amount {
        font-size: 40px;
    }

    .pricing-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .pricing-feature {
        font-size: 12px;
        padding: 7px 14px;
    }

    .enterprise-cta {
        padding: 24px 14px;
    }

    .enterprise-content h3 {
        font-size: 20px;
    }

    .enterprise-content p {
        font-size: 13px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 18px;
        font-size: 13px;
    }
}
