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

:root {
    --primary-gradient: linear-gradient(45deg, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    --secondary-gradient: linear-gradient(45deg, #00f2fe, #4facfe);
    --accent-gradient: linear-gradient(45deg, #13f1fc, #0470dc);
    --text-gradient: linear-gradient(45deg, #30CFD0, #330867);
    --primary-color: #4f5bd5;
    --secondary-color: #d62976;
    --accent-color: #fa7e1e;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fafafa;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-text);
    font-weight: 700;
}

h2.gradient-heading {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-login, .btn-cadastro {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login {
    color: var(--primary-color);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
               var(--primary-gradient) border-box;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 91, 213, 0.3);
}

.btn-cadastro {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
}

.btn-cadastro:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 41, 118, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    background: linear-gradient(135deg, #f9f9ff 0%, #edf7ff 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(80px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    filter: blur(80px);
    opacity: 0.15;
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-text);
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #7f8c8d;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Steps Section */
.steps {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.steps::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(100px);
    opacity: 0.07;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.step {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 30px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    opacity: 0;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step:hover::before {
    opacity: 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.step h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Mini-site Example Section */
.mini-site-example {
    background-color: #f5f7fa;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    border: 12px solid #333;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    background-color: #fff;
    height: 600px;
    overflow-y: auto;
}

.mini-site-preview {
    padding: 20px;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #3498db;
}

.profile h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.profile p {
    color: #7f8c8d;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.link-item:hover {
    transform: translateY(-2px);
}

.link-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.linkedin {
    background-color: #0077b5;
    color: #fff;
}

.whatsapp {
    background-color: #25d366;
    color: #fff;
}

.website {
    background-color: #3498db;
    color: #fff;
}

.contact {
    background-color: #2c3e50;
    color: #fff;
}

/* Features Section */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #3498db;
}

.feature h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Signup Section */
.signup {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #fff;
    text-align: center;
}

.signup h2, .signup p {
    color: #fff;
}

.signup p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.signup .btn-primary {
    background-color: #fff;
    color: #3498db;
}

.signup .btn-primary:hover {
    background-color: #f5f5f5;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo, .footer-links, .footer-contact {
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: left;
    color: #3498db;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-links ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal h2 {
    margin-bottom: 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.modal p {
    margin-top: 20px;
    text-align: center;
}

.switch-modal {
    color: #3498db;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .steps-container {
        flex-direction: column;
    }

    .step {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo h2 {
        text-align: center;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }
}
