/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFFE5;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: #1a1a1a;
    border-radius: 50px;
    padding: 16px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 30px auto 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.nav-btn.customers {
    background:#6155f5;
    color: white;
}

.nav-btn.customers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.nav-btn.business {
    background: #6155f5;
    color: #ffffff;
}

.nav-btn.business:hover {
    background: #6155f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 247, 1, 0.35);
}

.nav-btn.developers {
    background: #6155f5;
    color: white;
}

.nav-btn.developers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.35);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    color: white;
    font-size: 24px;
    padding: 8px;
    border: none;
    cursor: pointer;
}

/* Sidebar Menu for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: #1a1a1a;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-close {
    background: transparent;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-nav .nav-btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
}

/* ===================================
   Contact Hero Section
   =================================== */
.contact-hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: #f5f5f5;
    padding: 3rem 2rem;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Left Side - Contact Form */
.contact-left {
    position: relative;
}

.contact-header {
    background: #e8e8e8;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: #1a1a1a;
    color: #FFD700;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #FFD700;
    opacity: 0.8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #2d2d2d;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.btn-submit {
    padding: 1rem 3rem;
    background: #FFD700;
    color: #1a1a1a;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-submit:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Pattern Decorations */
.pattern-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.pattern-deco {
    position: absolute;
    opacity: 0.8;
}

.deco-1 {
    width: 150px;
    height: 150px;
    background: #FF6B00;
    top: -5%;
    left: -8%;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.deco-2 {
    width: 120px;
    height: 180px;
    background: #DC143C;
    top: -3%;
    left: 10%;
}

.deco-3 {
    width: 130px;
    height: 130px;
    background: #00A86B;
    top: 5%;
    left: 25%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 80%);
}

.deco-4 {
    width: 100px;
    height: 120px;
    background: #FFD700;
    top: 10%;
    left: 38%;
    clip-path: polygon(0 20%, 100% 0, 80% 100%, 0 100%);
}

.deco-5 {
    width: 110px;
    height: 90px;
    background:
        repeating-linear-gradient(
            0deg,
            #1a1a1a,
            #1a1a1a 4px,
            #FFD700 4px,
            #FFD700 8px
        );
    top: 15%;
    left: 48%;
}

.deco-6 {
    width: 100px;
    height: 100px;
    background:
        repeating-linear-gradient(
            0deg,
            #FF6B00,
            #FF6B00 3px,
            transparent 3px,
            transparent 8px
        );
    top: 0;
    left: 60%;
}

/* Right Side - Content */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-image-section {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.image-deco {
    position: absolute;
    border-radius: 50%;
}

.img-deco-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    top: 10%;
    right: -5%;
    opacity: 0.85;
}

.img-deco-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    bottom: 15%;
    left: -5%;
    opacity: 0.8;
}

.img-pattern-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background:
        repeating-linear-gradient(
            45deg,
            #FFD700,
            #FFD700 5px,
            transparent 5px,
            transparent 10px
        );
    top: 50%;
    right: 5%;
    opacity: 0.6;
}

/* Get Started Section */
.get-started-section {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.get-started-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.btn-create-account {
    padding: 1rem 2.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-create-account:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Download Section
   =================================== */
.download-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 30px;
    margin: 3rem 2rem;
}

.download-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.download-container h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.download-container p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.store-btn i {
    font-size: 2rem;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn .small {
    font-size: 0.7rem;
    color: #666;
}

.store-btn .large {
    font-size: 1rem;
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: #f9f9f9;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-logo i {
    color: #FFD700;
    font-size: 1rem;
}

.footer-col h3,
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.footer-col p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.subscribe-form button {
    padding: 0.8rem 1.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    background: #333;
}

.privacy-text {
    font-size: 0.75rem;
    color: #999;
}

.privacy-text a {
    color: #3B82F6;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ===================================
   Get Started Modal (Same as other pages)
   =================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ffffff;
    transform: rotate(90deg);
}

.modal-close i {
    color: #1a1a1a;
}

.modal-content {
    position: relative;
    min-height: 600px;
}

/* Modal Background Decorations */
.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.modal-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
}

.modal-deco-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    top: 5%;
    left: -5%;
    clip-path: polygon(0 0, 100% 20%, 80% 100%, 0 80%);
}

.modal-deco-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    top: -10%;
    right: 10%;
}

.modal-deco-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FF006E 0%, #FF1493 100%);
    bottom: 10%;
    right: -5%;
    opacity: 0.6;
}

.modal-deco-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
    bottom: 15%;
    left: 5%;
    clip-path: polygon(20% 0, 100% 20%, 80% 100%, 0 80%);
    opacity: 0.7;
}

.modal-pattern {
    position: absolute;
    opacity: 0.4;
}

.modal-pattern-1 {
    width: 100px;
    height: 80px;
    background:
        repeating-linear-gradient(
            0deg,
            #1a1a1a,
            #1a1a1a 3px,
            transparent 3px,
            transparent 8px
        );
    top: 10%;
    left: 2%;
}

.modal-pattern-2 {
    width: 80px;
    height: 100px;
    background:
        repeating-linear-gradient(
            45deg,
            #FFD700,
            #FFD700 4px,
            transparent 4px,
            transparent 10px
        );
    bottom: 5%;
    right: 5%;
}

.modal-pattern-3 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FF1493 2px, transparent 2px);
    background-size: 15px 15px;
    top: 40%;
    right: 8%;
}

/* Modal Form */
.modal-form-wrapper {
    position: relative;
    z-index: 2;
    padding: 3rem 2.5rem;
}

.get-started-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.toggle-option {
    flex: 1;
    cursor: pointer;
}

.toggle-option input[type="radio"] {
    display: none;
}

.toggle-label {
    display: block;
    padding: 0.8rem 1.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.toggle-option input[type="radio"]:checked + .toggle-label {
    background: #FFD700;
    color: #1a1a1a;
    transform: scale(1.05);
}

.toggle-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.get-started-form .form-group {
    display: flex;
    flex-direction: column;
}

.get-started-form .form-group input {
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.get-started-form .form-group input::placeholder {
    color: #999;
}

.get-started-form .form-group input:focus {
    outline: none;
    background: #2d2d2d;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.modal-submit-btn {
    padding: 1rem 3rem;
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: fit-content;
    align-self: flex-start;
}

.modal-submit-btn:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.modal-submit-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 250px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .modal-overlay.active {
        padding: 1rem;
    }

    .modal-container {
        max-width: 100%;
    }

    .modal-form-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .form-row-double {
        grid-template-columns: 1fr;
    }

    .modal-deco-1,
    .modal-deco-2,
    .modal-deco-3,
    .modal-deco-4 {
        opacity: 0.4;
    }

    .modal-pattern {
        display: none;
    }

    .pattern-deco {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .contact-hero {
        padding: 2rem 1rem;
    }

    .contact-header {
        padding: 2rem 1.5rem;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .get-started-section {
        padding: 2rem 1.5rem;
    }

    .get-started-section h2 {
        font-size: 1.5rem;
    }

    .download-section {
        margin: 2rem 1rem;
        padding: 3rem 1.5rem;
    }

    .download-container h2 {
        font-size: 1.75rem;
    }

    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .modal-form-wrapper {
        padding: 2rem 1rem;
    }

    .form-row-toggle {
        flex-direction: column;
    }

    .modal-submit-btn {
        width: 100%;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }

    .btn-submit {
        width: 100%;
    }

    .pattern-deco {
        display: none;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

button,
a,
input,
textarea {
    transition: all 0.3s ease;
}
