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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #fef7ed 50%, #f8fafc 100%);
    min-height: 100vh;
    color: #374151;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(251, 207, 232, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(254, 215, 170, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(253, 186, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

/* Brand Section */
.brand-section {
    margin-bottom: 60px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.2);
}

.logo-circle::before {
    content: '';
    width: 32px;
    height: 52px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 32px 32px 0 0;
    position: absolute;
    left: 32px;
    top: -16px;
}

.logo-circle::after {
    content: '';
    width: 32px;
    height: 52px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 32px 32px 0 0;
    position: absolute;
    right: 32px;
    top: -16px;
    transform: rotate(-90deg);
}

.logo-circle span {
    font-size: 24px;
    font-weight: 700;
    color: white;
    transform: rotate(45deg);
    z-index: 2;
    position: relative;
}

.brand-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #c026d3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    padding: 16px 32px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 207, 232, 0.3);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.1);
    border-color: rgba(251, 207, 232, 0.5);
}

.btn-icon {
    font-size: 18px;
}

/* Templates Showcase Section */
.templates-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-features {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 20px;
    color: #6b7280;
    font-weight: 400;
}

.templates-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.template-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 60px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 207, 232, 0.3);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.08);
    transition: all 0.3s ease;
}

.template-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(244, 63, 94, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.template-showcase.reverse {
    direction: rtl;
}

.template-showcase.reverse .template-info {
    direction: ltr;
}

.template-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
    min-height: 474px;
}

.device-frame {
    background: #1f2937;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.device-header {
    background: #374151;
    border-radius: 12px 12px 0 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.device-controls {
    display: flex;
    gap: 6px;
}

.device-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.device-dot:nth-child(2) {
    background: #f59e0b;
}

.device-dot:nth-child(3) {
    background: #10b981;
}

.device-url {
    flex: 1;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    background: #4b5563;
    padding: 4px 12px;
    border-radius: 6px;
}

.device-screen {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #f8f4ec;
    min-height: 450px;
}

.template-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Template Preview Styles (based on editor) */
.invitation-preview {
    position: relative;
    padding: 20px 40px;
    font-family: 'Georgia', serif;
    transform: scale(0.6);
    transform-origin: top left;
    width: 167%;
    height: 500px;
    overflow: visible;
}

/* Head and Body sections in preview */
.preview-head {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 20px 30px 20px;
    margin-bottom: 0;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.preview-body {
    position: relative;
    z-index: 2;
    padding: 20px 20px 30px 20px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

/* Common Template Styles */
.template-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
    font-weight: normal;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.template-date {
    text-align: center;
    color: #666;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: normal;
}

.template-welcome {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.event-details-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: normal;
}

.template-events {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.template-event {
    border: 2px solid #e5e5e5;
    padding: 15px 12px;
    text-align: center;
    position: relative;
    width: calc(50% - 7.5px);
    flex: 0 0 calc(50% - 7.5px);
    box-sizing: border-box;
    background: white;
}

.template-event .event-icon {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.template-events .template-event:only-child {
    width: 200px;
    flex: 0 0 200px;
}

.template-event h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: normal;
}

.template-event p {
    color: #666;
    margin-bottom: 4px;
    font-size: 12px;
}

.event-map-preview {
    margin-top: 10px;
}

.map-placeholder {
    height: 40px;
    background-image: url('/images/map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid #a5d6a7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-placeholder:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(1.02);
}

/* Location pin overlay for map preview */
.map-placeholder::after {
    content: '📍';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.5));
    z-index: 10;
    animation: mapBounce 2s infinite;
}

@keyframes mapBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-2px); }
    60% { transform: translateX(-50%) translateY(-1px); }
}

/* Botanical Theme */
.invitation-preview.botanical-theme {
    background-color: #f8f4ec;
    transform: scale(0.6);
    transform-origin: top right;
    direction: ltr;
}

.botanical-theme .preview-head {
    background-color: #f8f5ea;
    position: relative;
}

/* Botanical head section leaf backgrounds */
.botanical-theme .preview-head::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 60px;
    background: url('/images/leaf-left.png') no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
}

.botanical-theme .preview-head::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 45px;
    background: url('/images/leaf-top.png') no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.botanical-theme .preview-body {
    background-color: #fffcf4;
}

.invitation-preview.botanical-theme .template-title {
    color: #6b8e3d;
    position: relative;
    z-index: 2;
}

.botanical-theme .event-details-title {
    color: #6b8e3d;
}

.botanical-theme .template-event h3 {
    color: #6b8e3d;
}

/* Classic Theme */
.invitation-preview.classic-theme {
    background-color: #f9f3ec;
}

.classic-theme .preview-head {
    background-color: #f9f6ec;
}

.classic-theme .preview-body {
    background-color: #fcfaf3;
}

.invitation-preview.classic-theme .template-title {
    color: #b8860b;
}

.classic-theme .event-details-title {
    color: #b8860b;
}

.classic-theme .template-event h3 {
    color: #b8860b;
}

/* RSVP Attendance Form Styles (from editor) */
.attendance-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: normal;
}

.attendance-form-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

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

.form-group-preview input {
    padding: 10px;
    border: 2px solid #e5e5e5;
    font-size: 14px;
    font-family: 'Georgia', serif;
    background: white;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
}

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

.attending-options {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pax-group-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pax-label-preview {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.pax-counter-preview {
    display: flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
}

.pax-input-preview {
    width: 40px;
    padding: 3px 4px;
    border: none;
    background: white;
    font-size: 10px;
    font-family: 'Georgia', serif;
    text-align: center;
    color: #666;
    outline: none;
}

.pax-btn-preview {
    width: 18px;
    height: 24px;
    border: none;
    background: #a88f52;
    color: white;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pax-btn-preview:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Theme-specific pax preview styles */
.classic-theme .pax-label-preview {
    color: #9b7b2d;
}

.classic-theme .pax-counter-preview {
    border-color: #d2c4a4;
}

.classic-theme .pax-input-preview {
    background: #fcfaf3;
    color: #9b7b2d;
}

.classic-theme .pax-btn-preview {
    background: #a88f52;
}

.botanical-theme .pax-label-preview {
    color: #717f62;
}

.botanical-theme .pax-counter-preview {
    border-color: #b7bbb0;
}

.botanical-theme .pax-input-preview {
    background: #fffcf4;
    color: #717f62;
}

.botanical-theme .pax-btn-preview {
    background: #d3b099;
}

.attending-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.attending-label {
    color: #666;
    font-size: 14px;
}

.radio-group {
    display: flex;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 4px;
}

.radio-option input[type="radio"] {
    width: 14px;
    height: 14px;
}

.radio-option label {
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.attendance-submit-preview {
    padding: 8px 15px;
    border: none;
    font-size: 10px;
    font-family: 'Georgia', serif;
    cursor: not-allowed;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    opacity: 0.8;
    border-radius: 4px;
    flex: 1;
    margin-left: 10px;
}

.template-footer {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 12px;
}

/* Classic theme RSVP button */
.classic-theme .attendance-title {
    color: #b8860b;
}

.classic-theme .attendance-submit-preview {
    background: #a88f52;
}

/* Botanical theme RSVP button */
.botanical-theme .attendance-title {
    color: #6b8e3d;
}

.botanical-theme .attendance-submit-preview {
    background: #d3b099;
}

.botanical-theme .form-group-preview input {
    background: #fffcf4;
}

/* Botanical theme text colors */
.botanical-theme .template-date,
.botanical-theme .template-welcome,
.botanical-theme .template-event p,
.botanical-theme .attending-label,
.botanical-theme .radio-option label,
.botanical-theme .template-footer,
.botanical-theme .form-group-preview input::placeholder {
    color: #717f62;
}

/* Botanical theme border colors */
.botanical-theme .template-event,
.botanical-theme .form-group-preview input {
    border-color: #b7bbb0;
}

/* Botanical theme event background */
.botanical-theme .template-event {
    background: #fffcf4;
}

/* Classic theme input background */
.classic-theme .form-group-preview input {
    background: #fcfaf3;
}

/* Classic theme event background */
.classic-theme .template-event {
    background: #fcfaf3;
}

/* Classic theme text colors */
.classic-theme .template-date,
.classic-theme .template-welcome,
.classic-theme .template-event p,
.classic-theme .attending-label,
.classic-theme .radio-option label,
.classic-theme .template-footer,
.classic-theme .form-group-preview input::placeholder {
    color: #9b7b2d;
}

/* Classic theme border colors */
.classic-theme .template-event,
.classic-theme .form-group-preview input {
    border-color: #d2c4a4;
}

.template-info {
    text-align: left;
}

.template-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.template-badge.botanical {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.template-icon {
    font-size: 16px;
}

.template-label {
    font-weight: 600;
    font-size: 14px;
}

.template-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.template-info p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: #f43f5e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(244, 63, 94, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.template-actions {
    display: flex;
    gap: 16px;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    padding: 14px 28px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(251, 207, 232, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.1);
    border-color: rgba(251, 207, 232, 0.5);
}

.btn-create {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.btn-create:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #c026d3 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.3);
}


/* Footer */
.footer-section {
    padding: 60px 0 40px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(251, 207, 232, 0.3);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f43f5e;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
}

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

.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.templates-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 48px 0;
    }
    
    .brand-section {
        margin-bottom: 48px;
    }
    
    .logo-circle {
        width: 56px;
        height: 56px;
    }
    
    .logo-circle::before,
    .logo-circle::after {
        width: 28px;
        height: 44px;
        top: -14px;
    }
    
    .logo-circle::before {
        left: 28px;
    }
    
    .logo-circle::after {
        right: 28px;
    }
    
    .logo-circle span {
        font-size: 20px;
    }
    
    .brand-text {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 280px;
        justify-content: center;
    }
    
    /* Template Showcase Mobile */
    .templates-section {
        padding: 64px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .templates-grid {
        gap: 60px;
        margin-bottom: 60px;
    }
    
    .template-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
        text-align: center;
    }
    
    .template-showcase.reverse {
        direction: ltr;
    }
    
    .device-mockup {
        max-width: 350px;
    }
    
    /* Fix botanical template alignment on mobile */
    .invitation-preview.botanical-theme {
        transform-origin: top left;
        margin-right: 0;
    }
    
    
    .template-info {
        text-align: center;
    }
    
    /* Footer Mobile */
    .footer-section {
        padding: 48px 0 32px 0;
        margin-top: 32px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-links {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-brand-text {
        font-size: 18px;
    }
    
    .footer-logo {
        width: 28px;
        height: 28px;
    }
    
    .template-info h3 {
        font-size: 28px;
    }
    
    .template-info p {
        font-size: 16px;
    }
    
    .template-actions {
        justify-content: center;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Template Showcase Small Mobile */
    .templates-section {
        padding: 56px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .templates-grid {
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .template-showcase {
        padding: 36px 24px;
        gap: 36px;
    }
    
    .device-mockup {
        max-width: 300px;
    }
    
    
    .template-info h3 {
        font-size: 24px;
    }
    
    .template-info p {
        font-size: 15px;
    }
    
    .template-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn-preview,
    .btn-create {
        width: 200px;
        text-align: center;
        justify-content: center;
    }
    
}
