/* =========================================================
   STORM INDUSTRIES
   RESPONSIVE
========================================================= */


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1000px) {

    .site-header {
        top: 12px;
        padding: 0 14px;
    }


    .navbar {
        min-height: 68px;
    }


    .nav-links {
        gap: 18px;
    }


    .hero-container {
        gap: 30px;
    }


    .hero h1 {
        font-size: clamp(52px, 8vw, 80px);
    }


    .hero-logo-wrapper {
        width: 400px;
    }


    .footer-container {
        gap: 50px;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 780px) {

    .navbar {
        position: relative;
    }


    .brand-name {
        display: none;
    }


    .nav-links {

        position: absolute;

        top: calc(100% + 10px);

        left: 0;

        right: 0;

        padding: 20px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        background: var(--surface);

        border: 1px solid var(--border);

        border-radius: 20px;

        box-shadow: var(--shadow);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);
    }


    .nav-links.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    .nav-link {

        padding: 14px;

        border-radius: 10px;
    }


    .nav-link:hover {

        background: var(--surface-soft);
    }


    .nav-link::after {
        display: none;
    }


    .menu-btn {

        display: flex;
    }


    .menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }


    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }


    .menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }


    .hero {

        min-height: auto;

        padding-top: 140px;

        padding-bottom: 100px;
    }


    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-content {

        display: flex;

        flex-direction: column;

        align-items: center;
    }


    .hero .eyebrow {

        justify-content: center;
    }


    .hero-description {

        max-width: 600px;
    }


    .hero-visual {

        order: -1;
    }


    .hero-logo-wrapper {

        width: min(330px, 80vw);
    }


    .scroll-indicator {
        display: none;
    }


    .intro-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .feature-grid {

        grid-template-columns: 1fr;
    }


    .cta-container {

        flex-direction: column;

        align-items: flex-start;

        padding: 45px 30px;
    }


    .footer-container {

        grid-template-columns: 1fr;

        gap: 50px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 520px) {

    .site-header {
        padding: 0 10px;
    }


    .navbar {

        padding: 8px 12px;

        border-radius: 18px;
    }


    .brand-logo {

        width: 42px;

        height: 42px;
    }


    .nav-actions {
        gap: 6px;
    }


    .language-btn,
    .theme-btn {

        width: 38px;

        height: 38px;
    }


    .login-btn {

        padding: 11px 15px;

        font-size: 11px;
    }


    .menu-btn {

        width: 38px;

        height: 38px;
    }


    .hero {

        padding-left: 18px;

        padding-right: 18px;
    }


    .hero h1 {

        font-size: clamp(46px, 15vw, 70px);

        letter-spacing: -4px;
    }


    .hero-description {

        font-size: 14px;
    }


    .hero-buttons {

        width: 100%;

        flex-direction: column;
    }


    .hero-buttons .btn {

        width: 100%;
    }


    .section {

        padding: 80px 18px;
    }


    .section-heading h2 {

        font-size: 42px;

        letter-spacing: -2.5px;
    }


    .intro-text p {

        font-size: 18px;
    }


    .feature-card {

        min-height: auto;

        padding: 28px;

        border-radius: 24px;
    }


    .card-icon {

        margin-bottom: 55px;
    }


    .card-content h3 {

        font-size: 27px;
    }


    .cta-section {

        padding: 40px 18px 80px;
    }


    .cta-container {

        border-radius: 24px;

        padding: 35px 25px;
    }


    .cta-container h2 {

        font-size: 34px;

        letter-spacing: -2px;
    }


    .footer-main {

        padding: 60px 22px 40px;
    }


    .footer-brand h2 {

        font-size: 32px;
    }


    .footer-contact p {

        align-items: flex-start;

        font-size: 13px;
    }


    .footer-social a {

        width: 54px;

        height: 54px;

        font-size: 19px;
    }


    .footer-bottom {

        padding: 30px 22px;

        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 370px) {

    .language-btn {
        display: none;
    }


    .login-btn {
        padding: 10px 12px;
    }


    .hero h1 {
        font-size: 43px;
    }


    .hero-logo-wrapper {
        width: 270px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

}