/* -------------------------------------------------------------------------- */
/*  PREMIUM REFINEMENTS & ANIMATIONS                                          */
/* -------------------------------------------------------------------------- */

:root {
    --primary: #0056b3;
    /* Corporate Blue from Business */
    --primary-dark: #003d7a;
    --accent: #e63946;
    /* Action Red for CTAs */
    --bg-light: #fbfbfa;
    --text-dark: #1a1b18;
    --text-muted: #6d7175;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------- */
/*  SIGNUP WIZARD                                                             */
/* -------------------------------------------------------------------------- */

.signup-wizard {
    padding: 80px 0;
    min-height: 80vh;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    gap: 40px;
}

.wizard-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.wizard-progress .step.active {
    opacity: 1;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--text-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.step.active .step-num {
    background: var(--primary);
}

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.domain-search-box {
    background: #f4f6f8;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 0;
    border: 2px solid #e1e3e5;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.input-group input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    outline: none;
}

.domain-ext {
    padding: 15px;
    background: #f4f6f8;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.domain-results {
    background: rgba(0, 86, 179, 0.05);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.domain-status.success {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #e1e3e5;
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.wizard-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.order-summary {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e3e5;
    font-weight: 800;
    font-size: 1.2rem;
}

.payment-box {
    border: 1px solid #e1e3e5;
    padding: 30px;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

.trust-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header Refinement */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 35px;
    width: auto;
}

/* Ensure header doesn't hide content */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

#mobile-menu-check {
    display: none;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        /* Below header */
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        overflow-y: auto;
    }

    #mobile-menu-check:checked~.container nav .nav-links {
        right: 0;
    }

    #mobile-menu-check:checked~nav .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    #mobile-menu-check:checked~nav .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu-check:checked~nav .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.nav-links a,
.nav-item>span {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-link:hover,
.nav-item:hover>span {
    color: var(--primary);
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    width: 900px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mega-menu-list {
    display: grid;
    gap: 10px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s;
}

.mega-menu-item:hover {
    background: #f8f9fa;
}

.mega-menu-item i {
    width: 32px;
    height: 32px;
    background: rgba(0, 86, 179, 0.05);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.mega-menu-text b {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.mega-menu-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    width: 35px;
    height: 35px;
    background: rgba(0, 86, 179, 0.05);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dropdown-item-text b {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.dropdown-item-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        overflow-y: auto;
        transition: var(--transition-smooth);
    }

    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item>span {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .mega-menu,
    .dropdown-menu {
        position: static;
        width: 100% !important;
        transform: none !important;
        box-shadow: none;
        padding: 0 0 20px 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-item:hover .mega-menu,
    .nav-item:hover .dropdown-menu {
        display: grid;
    }

    .mega-menu-col h4 {
        margin-top: 20px;
    }
}

.pos-feature {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.pos-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-accent:hover {
    background: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 96, 0.2);
}

.btn-outline {
    border: 2px solid #e1e3e5;
    background: transparent;
    color: var(--primary);
    /* Keep original color for outline */
}

.btn-outline:hover {
    background: #f1f2f3;
    border-color: var(--text-dark);
    color: var(--text-dark);
    /* Adjust color on hover for outline */
}

/* Hero Section - Premium Business Look */
.hero {
    padding: 120px 0;
    background: linear-gradient(180deg, #f0f4f2 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-dark) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-text p {
        font-size: 1.1rem;
    }
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 110%;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f4f6f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* POS Section */
.pos-section {
    background: var(--text-dark);
    color: white;
    border-radius: 40px;
    padding: 100px 0;
    margin: 80px 0;
}

.pos-content {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-direction: row-reverse;
}

.pos-text {
    flex: 1;
}

.pos-image {
    flex: 1;
}

.pos-image img {
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.pricing-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid #e1e3e5;
    text-align: center;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    position: relative;
    background: white;
    z-index: 2;
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 30px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-banner {
    background: var(--primary);
    padding: 80px 0;
    color: white;
    text-align: center;
    border-radius: 30px;
    margin: 50px 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-content,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .pos-content {
        flex-direction: column;
    }

    .pricing-card.popular {
        transform: none;
    }
}

/* Industry Grid for SEO */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.industry-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.industry-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 50px auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.3s;
}

/* Signup Wizard */
.signup-wizard {
    padding: 100px 0;
    min-height: 80vh;
    background: #fdfdfd;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.wizard-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.wizard-progress .step.active {
    opacity: 1;
}

.wizard-progress .step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.input-group {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #eee;
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 1.1rem;
}

.domain-ext {
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.domain-results {
    margin-top: 30px;
    padding: 20px;
    background: #e7f5ff;
    border-radius: 12px;
    text-align: center;
}

.domain-status.success {
    color: #0b7285;
    font-weight: 700;
    margin-bottom: 10px;
}

.wizard-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wizard-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.order-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    font-weight: 800;
    font-size: 1.2rem;
}

.payment-box {
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
}

#card-element {
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
}