:root {
    /* Color Palette */
    --primary: #1c2a4f;
    /* Dark Navy */
    --accent: #e86b8c;
    /* Soft Pink */
    --accent-hover: #d15676;
    --bg-light: #ffffff;
    --bg-gray: #f9fafe;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    --border: #e2e8f0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(28, 42, 79, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(28, 42, 79, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(28, 42, 79, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.highlight {
    color: var(--accent);
}

/* Base Buttons */
button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(232, 107, 140, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 107, 140, 0.5);
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    /* Made logo larger as requested */
    width: auto;
}

.logo-large {
    max-height: 120px;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-contact {
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-contact:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--text-white) !important;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, #fdf2f5 0%, #ffffff 50%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-dots {
    display: flex;
    gap: 12px;
}

.hero-dots .dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

.hero-dots .dot:first-child {
    opacity: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.illustration-placeholder {
    width: 500px;
    height: 400px;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Packages Section */
.packages-section {
    padding: 100px 0;
    background-color: var(--bg-gray);
    position: relative;
}

.packages-section::before {
    content: "PACHETE";
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.package-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.package-card::after {
    content: "Selectează Pachet";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.package-card:hover::after {
    bottom: 0;
}

.package-card.popular {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent);
    z-index: 10;
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: var(--accent);
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(-45deg);
}

.package-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.package-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.currency {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.2;
}

.features {
    text-align: left;
    margin-bottom: 20px;
    /* Space for the hover button */
}

.features li {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 28px;
}

.features li:last-child {
    border-bottom: none;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Domain Section */
.domain-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.domain-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.domain-search {
    max-width: 600px;
    margin: 0 auto 15px;
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    border: 1px solid var(--border);
}

.domain-search.disabled {
    opacity: 0.6;
    background-color: #f1f5f9;
}

.domain-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 1.1rem;
    font-family: inherit;
    background: transparent;
}

.domain-search button {
    background: var(--accent);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.domain-notice {
    font-size: 0.9rem;
    color: #ef4444;
    /* red notice */
    font-weight: 500;
}

/* Advantages Section */
.advantages-title {
    padding: 80px 0 40px;
}

.advantages-title h2 {
    font-size: 2.5rem;
}

.advantages-banner {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.banner-text {
    flex: 1;
    max-width: 500px;
}

.banner-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.banner-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.coop-illustration {
    font-size: 6rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.features-list {
    padding: 80px 0;
    background: var(--bg-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--border);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

.cta-image {
    font-size: 5rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    /* Darker Navy for contrast */
    color: white;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo strong {
    font-family: var(--font-main);
}

.footer-desc {
    color: #94a3b8;
    max-width: 400px;
    margin-bottom: 20px;
}

.company-details {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.legal-links {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.legal-links a {
    color: #94a3b8;
}

.legal-links a:hover {
    color: var(--accent);
}

.footer-email {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-top: 10px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a:hover {
    color: white;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    font-size: 1.5rem;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.modal-content h2 {
    margin-bottom: 5px;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.highlight-text {
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 107, 140, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--accent);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: var(--transition);
    z-index: 2000;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-card.popular {
        transform: scale(1);
    }

    .package-card.popular:hover {
        transform: translateY(-10px);
    }

    .hero-container,
    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-top: 40px;
    }

    .hero-dots {
        justify-content: center;
    }

    .hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* simple mobile nav hide for now */
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}