/* Base Styles */
:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFAB91;
    --secondary: #FFC107;
    --secondary-dark: #FFA000;
    --secondary-light: #FFECB3;
    --accent: #03A9F4;
    --bg-color: #ffffff;
    --bg-alt: #F9F9F9;
    --text-color: #333333;
    --text-light: #777777;
    --border-radius: 10px;
    --shadow: 0 8px 20px rgba(255, 87, 34, 0.15);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.section-title span {
    color: var(--primary);
}

.highlight {
    color: var(--secondary);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.5);
    color: white;
}

.cta-button:hover::after {
    left: 0;
}

/* Header Styles */
.header {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.logo-icon {
    margin-right: 10px;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 2rem;
}

.desktop-nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 0;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.desktop-nav ul li a:hover {
    color: var(--primary);
}

.desktop-nav ul li a:hover::after {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 3px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul li {
    margin: 1rem 0;
    text-align: center;
}

.mobile-nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav ul li a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 193, 7, 0.15));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.diamond-divider {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-color);
    clip-path: polygon(50% 50%, 100% 0, 100% 100%, 0 100%, 0 0);
}

/* Features Section */
.features {
    padding: 100px 0 80px;
    background-color: var(--bg-color);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transform: rotate(45deg);
}

.feature-card:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: 0 15px 30px rgba(255, 87, 34, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 193, 7, 0.15));
    position: relative;
}

.how-it-works::before,
.how-it-works::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.how-it-works::before {
    top: -100px;
    right: -100px;
}

.how-it-works::after {
    bottom: -100px;
    left: -100px;
}

.steps-container {
    position: relative;
    z-index: 1;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    height: calc(100% - 40px);
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(255, 87, 34, 0));
}

.step:last-child::after {
    display: none;
}

.step-number {
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content {
    max-width: 600px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background: white;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
    box-shadow: var(--shadow);
}

.cta-section h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: white;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transform: rotate(45deg) translate(-50%, -50%);
}

.question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.question:hover {
    background: linear-gradient(90deg, rgba(255, 87, 34, 0.05), rgba(255, 193, 7, 0.05));
}

.question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.toggle-icon {
    transition: var(--transition);
}

.toggle-icon .vertical {
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-item.active .toggle-icon .vertical {
    opacity: 0;
}

.answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before,
.footer::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.footer::before {
    top: -75px;
    left: -75px;
}

.footer::after {
    bottom: -75px;
    right: -75px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.footer-links-column {
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.footer-links-column:last-child {
    margin-right: 0;
}

.footer-links-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--secondary);
    transform: rotate(45deg);
}

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

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

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

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step::after {
        display: none;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-brand {
        max-width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .footer-links {
        justify-content: space-around;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step-content {
        max-width: 100%;
    }

    .footer-links-column {
        flex-basis: 100%;
        margin-right: 0;
        text-align: center;
    }

    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}
