@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@400;500;600;700&display=swap");

:root {
    --ssn-purple: #7b5ea7;
    --ssn-purple-light: #9b7ec7;
    --ssn-gold: #e8c56d;
    --ssn-gold-light: #f0d68a;
    --ssn-black: #08060f;
    --ssn-white: #ede6f5;
    --ssn-purple-glow: rgba(123, 94, 167, 0.4);
    --ssn-gold-glow: rgba(232, 197, 109, 0.3);
    --ssn-card-bg: rgba(123, 94, 167, 0.08);
    --ssn-card-border: rgba(123, 94, 167, 0.25);
    --ssn-input-bg: rgba(15, 10, 25, 0.8);
    --ssn-input-border: rgba(123, 94, 167, 0.3);
    --ssn-text-muted: rgba(237, 230, 245, 0.55);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #08060f 0%, #1a1030 50%, #0d0820 100%);
    min-height: 100vh;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    color: var(--ssn-white);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(232, 197, 109, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 10%, rgba(123, 94, 167, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 80%, rgba(232, 197, 109, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(123, 94, 167, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(237, 230, 245, 0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 90%, rgba(232, 197, 109, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 50%, rgba(123, 94, 167, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 30%, rgba(237, 230, 245, 0.1) 0%, transparent 100%);
    background-size: 250px 250px;
    pointer-events: none;
    z-index: -1;
}

/* ==================== HERO ==================== */

.ssn-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.ssn-hero .container {
    max-width: 800px;
}

.ssn-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 30px rgba(123, 94, 167, 0.3));
}

.ssn-hero h1 {
    font-family: 'Audiowide', cursive;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--ssn-white);
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 0 40px rgba(123, 94, 167, 0.3);
}

.ssn-hero h1 span {
    color: var(--ssn-gold);
}

.ssn-hero .lead {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ssn-text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.ssn-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ssn-gold);
    opacity: 0.5;
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== BUTTONS ==================== */

.btn-ssn-gold {
    background: var(--ssn-gold);
    color: var(--ssn-black);
    font-family: 'Audiowide', cursive;
    border: none;
    padding: 14px 44px;
    border-radius: 8px;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-ssn-gold:hover {
    background: var(--ssn-gold-light);
    color: var(--ssn-black);
    box-shadow: 0 0 25px var(--ssn-gold-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-ssn-gold:active {
    transform: translateY(0);
}

.btn-ssn-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-ssn-outline {
    background: transparent;
    color: var(--ssn-gold);
    font-family: 'Audiowide', cursive;
    border: 1px solid rgba(232, 197, 109, 0.4);
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-ssn-outline:hover {
    border-color: var(--ssn-gold);
    background: rgba(232, 197, 109, 0.1);
    color: var(--ssn-gold-light);
}

/* ==================== SECTION COMMON ==================== */

.ssn-section {
    padding: 80px 20px;
}

.ssn-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.ssn-section h2 {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin: 0 0 16px 0;
    color: var(--ssn-white);
}

.ssn-section .section-subtitle {
    text-align: center;
    color: var(--ssn-text-muted);
    font-size: 1.1rem;
    margin: 0 0 50px 0;
    font-weight: 500;
}

.ssn-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ssn-gold), transparent);
    margin: 16px auto 0 auto;
    border: none;
}

/* ==================== BENEFITS ==================== */

.ssn-benefits {
    padding: 80px 20px;
}

.ssn-benefits .container {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--ssn-card-bg);
    border: 1px solid var(--ssn-card-border);
    border-left: 3px solid var(--ssn-gold);
    border-radius: 4px 12px 12px 4px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(232, 197, 109, 0.4);
    border-left-color: var(--ssn-gold);
    box-shadow: 0 0 20px rgba(232, 197, 109, 0.1);
    transform: translateY(-3px);
}

.benefit-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ssn-white);
    margin: 0 0 8px 0;
}

.benefit-card p {
    color: var(--ssn-text-muted);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ==================== PRICING ==================== */

.ssn-pricing {
    padding: 80px 20px;
    text-align: center;
}

.ssn-pricing .container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--ssn-card-bg);
    border: 1px solid var(--ssn-card-border);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(232, 197, 109, 0.4);
    box-shadow: 0 0 25px rgba(232, 197, 109, 0.1);
}

.pricing-card h3 {
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ssn-white);
    margin: 0 0 16px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pricing-amount {
    font-family: 'Audiowide', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--ssn-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-from {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ssn-text-muted);
    text-transform: lowercase;
}

.pricing-period {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: var(--ssn-text-muted);
    font-weight: 500;
}

.pricing-note {
    margin-top: 36px;
    color: var(--ssn-text-muted);
    font-size: 1.05rem;
    font-weight: 600;
}

.pricing-note strong {
    color: var(--ssn-white);
}

.brochure-download {
    margin-top: 32px;
    text-align: center;
}

/* ==================== WHAT'S INCLUDED ==================== */

.ssn-included {
    padding: 80px 20px;
}

.ssn-included .container {
    max-width: 1000px;
    margin: 0 auto;
}

.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 50px;
    align-items: start;
}

.included-block {
    margin-bottom: 32px;
}

.included-block:last-child {
    margin-bottom: 0;
}

.included-block h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ssn-white);
    margin: 0 0 12px 0;
}

.included-subtitle {
    font-weight: 500;
    color: var(--ssn-text-muted);
    font-size: 0.95rem;
}

.included-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--ssn-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.included-block ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ssn-gold);
}

.included-block ul li strong {
    color: var(--ssn-white);
}

.rate-compare {
    color: var(--ssn-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.not-included-list li::before {
    background: rgba(237, 230, 245, 0.25) !important;
}

/* Network Upgrade Card */
.network-upgrade-card {
    background: var(--ssn-card-bg);
    border: 1px solid var(--ssn-card-border);
    border-radius: 12px;
    padding: 28px;
}

.network-upgrade-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ssn-white);
    margin: 0 0 12px 0;
}

.network-upgrade-card > p {
    color: var(--ssn-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.bundle-table {
    margin-bottom: 16px;
}

.bundle-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(123, 94, 167, 0.2);
    margin-bottom: 12px;
    font-family: 'Audiowide', cursive;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ssn-text-muted);
}

.bundle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(123, 94, 167, 0.1);
}

.bundle-row:last-child {
    border-bottom: none;
}

.bundle-row strong {
    color: var(--ssn-white);
    font-weight: 600;
    display: block;
}

.bundle-size {
    color: var(--ssn-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.bundle-price {
    font-family: 'Audiowide', cursive;
    font-size: 1.3rem;
    color: var(--ssn-gold);
}

.bundle-note {
    color: var(--ssn-text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin: 16px 0 0 0;
    font-weight: 500;
}

/* ==================== FORM SECTION ==================== */

.ssn-form-section {
    padding: 80px 20px 40px;
}

.ssn-form-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.ssn-form {
    margin-top: 50px;
}

.form-group-section {
    background: var(--ssn-card-bg);
    border: 1px solid var(--ssn-card-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
}

.form-group-section h3 {
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ssn-gold);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(232, 197, 109, 0.15);
    border: 1px solid rgba(232, 197, 109, 0.3);
    color: var(--ssn-gold);
    font-family: 'Audiowide', cursive;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ssn-white);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--ssn-gold);
    margin-left: 2px;
}

.form-group label .optional {
    color: var(--ssn-text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--ssn-input-bg);
    border: 1px solid var(--ssn-input-border);
    border-radius: 8px;
    color: var(--ssn-white);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--ssn-gold);
    box-shadow: 0 0 0 3px rgba(232, 197, 109, 0.15);
}

.form-control::placeholder {
    color: rgba(237, 230, 245, 0.3);
}

.form-control.is-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237b5ea7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

select.form-control option {
    background: #1a1030;
    color: var(--ssn-white);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Toggle switches for Yes/No */
.toggle-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.toggle-option {
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid var(--ssn-input-border);
    background: var(--ssn-input-bg);
    color: var(--ssn-text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.toggle-option:hover {
    border-color: var(--ssn-purple-light);
}

.toggle-option.active {
    background: rgba(123, 94, 167, 0.25);
    border-color: var(--ssn-purple);
    color: var(--ssn-white);
}

.toggle-option input {
    display: none;
}

/* Radio group for server question */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-option {
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid var(--ssn-input-border);
    background: var(--ssn-input-bg);
    color: var(--ssn-text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.radio-option:hover {
    border-color: var(--ssn-purple-light);
}

.radio-option.active {
    background: rgba(123, 94, 167, 0.25);
    border-color: var(--ssn-purple);
    color: var(--ssn-white);
}

.radio-option input {
    display: none;
}

/* Conditional fields */
.conditional-field {
    display: none;
    margin-top: 16px;
    padding-left: 16px;
    border-left: 2px solid rgba(123, 94, 167, 0.3);
}

.conditional-field.visible {
    display: block;
}

/* Submit area */
.form-submit {
    text-align: center;
    margin-top: 36px;
}

.form-submit .btn-ssn-gold {
    width: 100%;
    max-width: 400px;
    padding: 16px 44px;
    font-size: 1.1rem;
}

/* ==================== SUCCESS STATE ==================== */

.success-message {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.success-message h2 {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    color: var(--ssn-gold);
    margin: 0 0 16px 0;
}

.success-message p {
    color: var(--ssn-text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 12px auto;
    font-weight: 500;
}

.success-message .contact-info {
    margin-top: 30px;
    color: var(--ssn-white);
    font-weight: 600;
}

.success-message .contact-info a {
    color: var(--ssn-gold);
    text-decoration: none;
}

/* ==================== FOOTER ==================== */

.ssn-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(123, 94, 167, 0.15);
    margin-top: 40px;
}

.ssn-footer p {
    color: var(--ssn-text-muted);
    font-size: 0.9rem;
    margin: 4px 0;
    font-weight: 500;
}

.ssn-footer a {
    color: var(--ssn-gold);
    text-decoration: none;
}

.ssn-footer a:hover {
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .ssn-hero h1 {
        font-size: 1.7rem;
    }

    .ssn-hero .lead {
        font-size: 1.05rem;
    }

    .ssn-logo {
        max-width: 360px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-amount {
        font-size: 2.2rem;
    }

    .included-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ssn-section h2,
    .ssn-benefits h2,
    .ssn-pricing h2,
    .ssn-included h2,
    .ssn-form-section h2 {
        font-size: 1.4rem;
    }

    .form-group-section {
        padding: 20px;
    }

    .ssn-section,
    .ssn-benefits,
    .ssn-pricing,
    .ssn-form-section {
        padding: 50px 16px;
    }

    .radio-group {
        flex-direction: column;
        gap: 8px;
    }

    .toggle-group {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .ssn-hero {
        min-height: auto;
        padding: 60px 16px;
    }

    .ssn-hero h1 {
        font-size: 1.4rem;
    }

    .ssn-logo {
        max-width: 300px;
        margin-bottom: 28px;
    }

    .btn-ssn-gold {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
}

/* ==================== GOOGLE MAPS AUTOCOMPLETE ==================== */

.pac-container {
    background: #1a1030;
    border: 1px solid var(--ssn-input-border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    font-family: 'Rajdhani', sans-serif;
    margin-top: -1px;
    z-index: 1100;
}

.pac-item {
    padding: 8px 14px;
    border-top: 1px solid rgba(123, 94, 167, 0.15);
    color: var(--ssn-white);
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.4;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background: rgba(123, 94, 167, 0.2);
}

.pac-item-query {
    color: var(--ssn-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.pac-matched {
    font-weight: 700;
}

.pac-icon {
    display: none;
}

.pac-item span:not(.pac-item-query) {
    color: var(--ssn-text-muted);
}

/* Hide "Powered by Google" branding for cleaner look */
.pac-container::after {
    display: none !important;
}

/* ==================== ERROR TOAST ==================== */

.ssn-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(231, 76, 60, 0.95);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transition: transform 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.ssn-toast.visible {
    transform: translateX(-50%) translateY(0);
}
