/* =========================================================
   SouthShore Web Co. — Coastal Premium Theme
   ========================================================= */

/* -----------------------------
   1. Reset & Base
----------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #061826;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

section {
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    background: #38bdf8;
    color: #061826;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2000;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 16px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

.eyebrow {
    display: inline-block;
    color: #38bdf8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-heading p {
    color: #cbd5e1;
    font-size: 18px;
}

/* -----------------------------
   2. Layout Helpers
----------------------------- */

.section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

/* -----------------------------
   3. Navigation
----------------------------- */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 34, 57, .9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

nav {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 100px;
    height: auto;
}

.logo h1 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    transition: color .3s ease;
}

.nav-links a:hover {
    color: #38bdf8;
}

nav .primary-button {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    position: relative;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    padding: 0;
}

.menu-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }

.menu-toggle.active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

/* -----------------------------
   4. Buttons
----------------------------- */

.primary-button,
.secondary-button {
    display: inline-block;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
    white-space: nowrap;
    cursor: pointer;
}

.primary-button {
    background-color: #0284c7;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(2, 132, 199, .25);
}

.primary-button:hover {
    background-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(56, 189, 248, .35);
}

.secondary-button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #0ea5e9;
}

.secondary-button:hover {
    background-color: rgba(14, 165, 233, .12);
    transform: translateY(-3px);
}

/* -----------------------------
   5. Hero
----------------------------- */

.hero {
    position: relative;
    min-height: 90vh;
    padding: 100px 8% 120px;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse 90% 100% at 85% 35%,
            rgba(14, 165, 233, .28),
            transparent 65%
        ),
        radial-gradient(
            ellipse 80% 90% at 10% 80%,
            rgba(2, 132, 199, .18),
            transparent 65%
        );
}

.hero-text {
    position: relative;
    z-index: 1;
    width: 55%;
    animation: fadeSlideUp .8s ease both;
}

.hero-text h2 {
    font-size: 64px;
    line-height: 1.12;
    margin-bottom: 26px;
    letter-spacing: -.01em;
}

.hero-text h2 span {
    color: #38bdf8;
}

.hero-text p {
    max-width: 600px;
    font-size: 19px;
    color: #cbd5e1;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 34px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 45%;
    display: flex;
    justify-content: center;
    animation: fadeSlideUp .9s ease .15s both;
}

.browser-mockup {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
    animation: floatMockup 6s ease-in-out infinite;
}

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

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

/* -----------------------------
   6. Why Choose Us
----------------------------- */

#why-us {
    background-color: #0b2239;
    max-width: none;
}

#why-us .inner {
    max-width: 1400px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background-color: #102d47;
    padding: 34px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    border-color: rgba(56, 189, 248, .3);
}

.why-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: #38bdf8;
}

.why-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.why-card p {
    color: #cbd5e1;
    font-size: 15px;
}

/* -----------------------------
   7. Services / Pricing
----------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background-color: #0b2239;
    padding: 44px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 600;
}

.pricing-card h4 {
    color: #38bdf8;
    font-size: 44px;
    margin: 14px 0 4px;
}

.pricing-card > p:not(.maintenance) {
    color: #cbd5e1;
    margin-bottom: 26px;
}

.pricing-card ul {
    margin-bottom: 30px;
}

.pricing-card li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: #e2e8f0;
    font-size: 15px;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #38bdf8;
    border-bottom: 2px solid #38bdf8;
    transform: rotate(-45deg);
}

.pricing-card .primary-button {
    margin-top: auto;
    align-self: flex-start;
}

.maintenance {
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 22px;
    font-size: 15px;
}

.pricing-note {
    text-align: center;
    margin-top: 34px;
    color: #94a3b8;
    font-size: 14px;
    font-style: italic;
}

.featured-package {
    position: relative;
    border: 2px solid #38bdf8;
    background: linear-gradient(180deg, #0e2c47 0%, #0b2239 100%);
    box-shadow: 0 20px 50px rgba(14, 165, 233, .2);
}

.featured-package:hover {
    box-shadow: 0 26px 55px rgba(14, 165, 233, .3);
}

.badge {
    position: absolute;
    top: -14px;
    left: 40px;
    display: inline-block;
    background: #38bdf8;
    color: #061826;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.pricing-cta {
    text-align: center;
    margin-top: 50px;
}

.pricing-cta p {
    color: #cbd5e1;
    margin-bottom: 22px;
    font-size: 17px;
}

/* -----------------------------
   8. Process
----------------------------- */

#process {
    background-color: #0b2239;
    max-width: none;
}

#process .inner {
    max-width: 1400px;
    margin: 0 auto;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, .05), rgba(56, 189, 248, .5), rgba(56, 189, 248, .05));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #102d47;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.process-step p {
    color: #cbd5e1;
    font-size: 15px;
    max-width: 240px;
    margin: 0 auto;
}

/* -----------------------------
   9. About
----------------------------- */

#about {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-copy {
    width: 55%;
}

.about-copy p {
    color: #cbd5e1;
    font-size: 17px;
    margin-top: 10px;
}

.about-visual {
    width: 45%;
    display: flex;
    justify-content: center;
}

.horizon {
    width: 100%;
    max-width: 420px;
}

/* -----------------------------
   10. Contact
----------------------------- */

.contact-section {
    background-color: #061826;
    padding: 120px 8%;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.contact-text {
    text-align: left;
}

.contact-text h2 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.contact-text p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 25px;
}

.contact-info p {
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-info a {
    color: #38bdf8;
    text-decoration: none;
}

.contact-form {
    background-color: #0b2239;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #061826;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .15);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .primary-button {
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 6px;
    width: 100%;
    text-align: center;
}

.form-status {
    font-size: 14px;
    color: #38bdf8;
    min-height: 18px;
}

/* -----------------------------
   11. Footer
----------------------------- */

footer {
    padding: 60px 8% 40px;
    background-color: #051320;
    color: #cbd5e1;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-brand p {
    max-width: 280px;
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color .3s ease;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    max-width: 1400px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* -----------------------------
   12. Scroll Reveal
----------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------
   13. Responsive
----------------------------- */

@media (max-width: 1200px) {
    .hero-text h2 {
        font-size: 54px;
    }
}

@media (max-width: 1024px) {
    .hero-text h2 {
        font-size: 46px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

    .process-track::before {
        display: none;
    }
}

@media (max-width: 900px) {
    #about {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-copy,
    .about-visual {
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    nav {
        padding: 16px 6%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: 100%;
        background: #0b2239;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 30px 0;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
}

.logo h1 {
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}
    nav .primary-button {
        display: none;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 6% 80px;
        gap: 50px;
        min-height: auto;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h2 {
        font-size: 40px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 17px;
        margin: 22px auto 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .browser-mockup {
        max-width: 340px;
    }

    /* Sections */
    .section {
        padding: 70px 6%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 16px;
    }

    /* Why Us */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Services */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 34px 26px;
    }

    .pricing-card h4 {
        font-size: 36px;
    }

    /* Process */
    .process-track {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    /* Contact */
    .contact-section {
        padding: 70px 6%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        font-size: 32px;
    }

    .contact-text p {
        font-size: 16px;
    }

    .contact-form {
        padding: 24px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 32px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .primary-button,
    .secondary-button {
        padding: 14px 26px;
        font-size: 15px;
    }

    .pricing-card h4 {
        font-size: 32px;
    }

    .footer-links {
        gap: 28px;
    }
}