/* Import Google Fonts - Nunito and Poppins */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

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

:root {
    /* Australian-inspired color scheme */
    --teal: #16A5A3;          /* Coastal waters */
    --teal-dark: #108583;
    --teal-light: #45BEB9;
    --orange: #E68E36;        /* Outback sunset */
    --orange-dark: #D17620;
    --orange-light: #F8B371;
    --sand: #F5EFE0;          /* Beach sand */
    --dark: #212529;
    --gray: #495057;
    --light-gray: #ADB5BD;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%);
    --gradient-alt: linear-gradient(135deg, var(--orange-light) 0%, var(--teal-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 550px;
}

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

/* Background Elements */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--teal-light) 1px, transparent 1px),
                      radial-gradient(var(--orange-light) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.05;
    z-index: -2;
}

.accent-shape {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.05;
    z-index: -1;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

.logo-svg {
    width: 40px;
    height: 40px;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.logo strong {
    color: var(--teal);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 700;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--teal);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    padding: 100px 0 180px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: var(--shadow-sm);
}

.badge svg {
    color: var(--teal);
}

.badge span {
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.preview-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.demo-svg {
    color: var(--teal);
}

.processing-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--teal);
    animation: pulse 1.5s infinite ease-in-out;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.processing-indicator p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: var(--teal);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

.wave-divider-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(22, 165, 163, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 165, 163, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--off-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

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

.btn-primary:hover .icon, 
.btn-secondary:hover .icon {
    transform: translateX(3px);
}

/* Section Styles */
.how-it-works, .features, .faq {
    padding: 100px 0;
    position: relative;
}

.how-it-works {
    background-color: var(--off-white);
}

.features {
    background-color: var(--sand);
}

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

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-main);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 3px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* How It Works */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0;
}

.step {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    width: 280px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background-color: rgba(22, 165, 163, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: var(--teal);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--teal);
}

.step p {
    color: var(--gray);
    font-size: 0.95rem;
}

.step-divider {
    color: var(--orange);
    display: flex;
    align-items: center;
}

.cta-box {
    text-align: center;
    margin-top: 40px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1100px;
}

.feature {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 3px solid transparent;
}

.feature:hover {
    transform: translateY(-8px);
    border-top: 3px solid var(--teal);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(22, 165, 163, 0.1);
    color: var(--teal);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--teal-dark);
}

.feature p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

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

.toggle-icon {
    font-size: 1.5rem;
    color: var(--teal);
    font-weight: 300;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-main);
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--teal);
}

.cta-section .btn-primary:hover {
    background-color: var(--sand);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.brand strong {
    color: var(--orange);
}

.brand p {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin: 0;
}

.footer-tagline {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-nav h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-main);
}

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

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

.footer-nav ul li a {
    color: var(--light-gray);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-nav ul li a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 199;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul.active {
        right: 0;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-divider {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-group {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 150px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .preview-card {
        flex-direction: column;
        gap: 70px;
        padding: 15px;
    }
    
    .demo-svg {
        width: 200px;
        height: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
